]> git.proxmox.com Git - mirror_frr.git/commitdiff
tests: Topotests are not giving sufficient time to propagate data
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 11 Jul 2019 18:40:31 +0000 (14:40 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 11 Jul 2019 18:40:31 +0000 (14:40 -0400)
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>
tests/topotests/lib/common_config.py

index d2c1d824304b573f7e8d7ca556a6085e4922d183..628c198e1a8e5d58fb504a5d3b52ba17797603f1 100644 (file)
@@ -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)