]> git.proxmox.com Git - mirror_frr.git/commitdiff
tests: bgp_l3vpn_to_bgp_vrf were bailing to quickly
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 18 Apr 2019 00:47:44 +0000 (20:47 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 18 Apr 2019 18:14:26 +0000 (14:14 -0400)
The tests are not coming up consistently on my test box.  Add a bit of wait
time to test to allow normal bgp when the first attempt doesn't come up.
Especially since bgp timeouts are 120 seconds with non datacenter compiles.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/adjacencies.py

index 28ecfeec5ac37030c34ee2769994f3d884e818fe..5674120b9c750c7213e8fd4348d7d626d2a7f7a1 100644 (file)
@@ -1,7 +1,7 @@
 from lutil import luCommand
 luCommand('ce1','vtysh -c "show bgp summary"',' 00:0','wait','Adjacencies up',180)
-luCommand('ce2','vtysh -c "show bgp summary"',' 00:0','wait','Adjacencies up')
-luCommand('ce3','vtysh -c "show bgp summary"',' 00:0','wait','Adjacencies up')
+luCommand('ce2','vtysh -c "show bgp summary"',' 00:0','wait','Adjacencies up',180)
+luCommand('ce3','vtysh -c "show bgp summary"',' 00:0','wait','Adjacencies up',180)
 luCommand('ce4','vtysh -c "show bgp vrf all summary"',' 00:0','wait','Adjacencies up',180)
 luCommand('r1','ping 2.2.2.2 -c 1',' 0. packet loss','wait','PE->P2 (loopback) ping',60)
 luCommand('r3','ping 2.2.2.2 -c 1',' 0. packet loss','wait','PE->P2 (loopback) ping',60)