]> git.puffer.fish Git - mirror/frr.git/commitdiff
tests/topotests: bgp_l3vpn_to_bgp_vrf double the amount of time to wait during scalin... 4523/head
authorLou Berger <lberger@labn.net>
Thu, 13 Jun 2019 21:01:30 +0000 (21:01 +0000)
committerLou Berger <lberger@labn.net>
Thu, 13 Jun 2019 21:01:30 +0000 (21:01 +0000)
Signed-off-by: Lou Berger <lberger@labn.net>
tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/scale_down.py
tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/scale_up.py

index 897fc484360aa0f0752d692ac427449e41341bd5..c17bf1168c763430b23d2b983626e5c235f4b3e6 100644 (file)
@@ -6,7 +6,7 @@ if ret != False and found != None:
     luCommand('ce3', 'vtysh -c "show bgp sum"',
              '.', 'pass', 'See %s sharp routes' % num)
     if num > 0:
-        wait = num/500
+        wait = 2*num/500
         luCommand('ce1', 'vtysh -c "sharp remove routes 10.0.0.0 {}"'.format(num),'.','none','Removing {} routes'.format(num))
         luCommand('ce2', 'vtysh -c "sharp remove routes 10.0.0.0 {}"'.format(num),'.','none','Removing {} routes'.format(num))
         rtrs = ['ce1', 'ce2', 'ce3']
index 3b3aac5fbe2e1bc19e6859c03c51aaf2678b7a9c..7f114d10df78ebd0d91ba2ee323caa7b3963ef2b 100644 (file)
@@ -10,7 +10,7 @@ if c > 0:
     d = r - c * 256 - 1 
 else:
     d = r
-wait = num/1000
+wait = 2*num/1000
 mem = {}
 rtrs = ['ce1', 'ce2', 'ce3', 'r1', 'r2', 'r3', 'r4']
 for rtr in rtrs: