summaryrefslogtreecommitdiff
path: root/tests/topotests/lib/topotest.py
diff options
context:
space:
mode:
authorKuldeep Kashyap <kashyapk@vmware.com>2020-04-13 15:12:24 +0000
committerKuldeep Kashyap <kashyapk@vmware.com>2020-05-04 17:15:55 +0000
commita5a52d6608ffdb7ed04e12a6843ba590ae9eda2c (patch)
treec83002678bd76736649122ebe6814e5c0c54779c /tests/topotests/lib/topotest.py
parentc65a7e26dcbce529c129f5c0585e6bf0df360777 (diff)
tests: Add library support for BGP-Graceful-Restart automation
1. Adding APIs to common_config.py to support BGP-Graceful-Restart automation 2. Adding APIs to create BGP-GR config to bgp.py 3. Adding verification API for BGP-GR functionality Signed-off-by: Kuldeep Kashyap <kashyapk@vmware.com>
Diffstat (limited to 'tests/topotests/lib/topotest.py')
-rw-r--r--tests/topotests/lib/topotest.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/topotests/lib/topotest.py b/tests/topotests/lib/topotest.py
index c6ed44caaa..6464a29dd6 100644
--- a/tests/topotests/lib/topotest.py
+++ b/tests/topotests/lib/topotest.py
@@ -1195,21 +1195,6 @@ class Router(Node):
errors = ""
if assertOnError and len(errors) > 0:
assert "Errors found - details follow:" == 0, errors
-
- errors = ""
- # Check Memory leaks
- if pytest.config.getoption('--valgrind'):
- mem_leak, mem_data = self.check_mem_leaks_valgrind(
- daemon
- )
- if mem_leak:
- for d_name, data in mem_data.items():
- if data:
- logger.error(
- "Memory leaks in router [%s] for "
- "daemon [%s]", self.name, daemon)
- errors = "Router [%s] has memory leak, Check" \
- " logs for details." % self.name
else:
daemonsNotRunning.append(daemon)
if len(daemonsNotRunning) > 0: