]> git.puffer.fish Git - mirror/frr.git/commitdiff
tests: Do not sleep(5) when verifying bgp communities 8437/head
authorDonald Sharp <sharpd@nvidia.com>
Fri, 9 Apr 2021 16:02:18 +0000 (12:02 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Fri, 9 Apr 2021 16:02:18 +0000 (12:02 -0400)
There are better ways of ensuring that the remote side
has your change instead of sleeping

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
tests/topotests/lib/bgp.py

index 83ee866636c887d02cfdfb50a03c625395946813..ecb0a23dff3bfa4286d71b65713110944fcfd6ed 100644 (file)
@@ -1309,7 +1309,6 @@ def verify_bgp_community(
 
     command = "show bgp"
 
-    sleep(5)
     for net in network:
         if vrf:
             cmd = "{} vrf {} {} {} json".format(command, vrf, addr_type, net)