summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-07-11 20:40:31 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2019-07-11 20:40:31 +0200
commit1d90adee9d16f14901a102763085a511baed5231 (patch)
tree45d027d01b4f82ccca7179966eb439b95bb7d78b /tests
parentMerge pull request #4670 from chiragshah6/evpn_dev1 (diff)
downloadfrr-1d90adee9d16f14901a102763085a511baed5231.tar.xz
frr-1d90adee9d16f14901a102763085a511baed5231.zip
tests: Topotests are not giving sufficient time to propagate data
A bunch of our current tests setup data and redistribute it across some bgp connections and then test for it being there. A delay of 2 seconds that was initially there to ensure that the data has propagated does not actually work all the time when you have a loaded virtualized environment. Make the sleep 10 seconds. I agree this is not the ideal solution but I would rather get the damn tests up and running again. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/topotests/lib/common_config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/topotests/lib/common_config.py b/tests/topotests/lib/common_config.py
index d2c1d8243..628c198e1 100644
--- a/tests/topotests/lib/common_config.py
+++ b/tests/topotests/lib/common_config.py
@@ -1157,7 +1157,7 @@ def verify_rib(tgen, addr_type, dut, input_dict, next_hop=None, protocol=None):
else:
command = "show ipv6 route json"
- sleep(2)
+ sleep(10)
logger.info("Checking router %s RIB:", router)
rib_routes_json = rnode.vtysh_cmd(command, isjson=True)