summaryrefslogtreecommitdiff
path: root/tests/topotests/config_timing/test_config_timing.py
diff options
context:
space:
mode:
authorYash Ranjan <ranjany@vmware.com>2022-01-26 23:18:59 -0800
committerChristian Hopps <chopps@labn.net>2022-04-05 21:41:23 -0400
commite7ed146d0b3573752efc4c4211034d9545315c10 (patch)
tree5c01ae9af15a5be6cfbcdce98e6de192cbf24fb5 /tests/topotests/config_timing/test_config_timing.py
parentd9fb94d6c327b53bb7303b43f863fb2262327ae5 (diff)
tests: Modifying existing topotests to incorporate mgmtd changes.dev/omgmtd
Signed-off-by: nguggarigoud <nguggarigoud@vmware.com>
Diffstat (limited to 'tests/topotests/config_timing/test_config_timing.py')
-rw-r--r--tests/topotests/config_timing/test_config_timing.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/topotests/config_timing/test_config_timing.py b/tests/topotests/config_timing/test_config_timing.py
index 7ab8619b01..d86d05b89e 100644
--- a/tests/topotests/config_timing/test_config_timing.py
+++ b/tests/topotests/config_timing/test_config_timing.py
@@ -45,7 +45,7 @@ sys.path.append(os.path.join(CWD, "../"))
# pylint: disable=C0413
from lib.topogen import Topogen, TopoRouter, get_topogen
from lib.topolog import logger
-
+from lib import topotest
pytestmark = [pytest.mark.staticd]
@@ -62,6 +62,10 @@ def setup_module(mod):
router_list = tgen.routers()
for rname, router in router_list.items():
router.load_config(
+ TopoRouter.RD_MGMTD,
+ os.path.join(CWD, "{}/mgmtd.conf".format(rname)),
+ )
+ router.load_config(
TopoRouter.RD_ZEBRA,
os.path.join(CWD, "{}/zebra.conf".format(rname)),
)
@@ -167,7 +171,7 @@ def test_static_timing():
[u"10.0.0.0/8", u"11.0.0.0/8"],
[u"2100:1111:2220::/44", u"2100:3333:4440::/44"],
]
-
+ topotest.sleep(5)
bad_indices = []
for ipv6 in [False, True]:
base_delta = do_config(