From dc06452e682861a5bcd47efe358932ec4a69f6cf Mon Sep 17 00:00:00 2001 From: Lou Berger Date: Thu, 13 Jun 2019 21:01:30 +0000 Subject: [PATCH] tests/topotests: bgp_l3vpn_to_bgp_vrf double the amount of time to wait during scaling tests Signed-off-by: Lou Berger --- tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/scale_down.py | 2 +- tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/scale_up.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/scale_down.py b/tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/scale_down.py index 897fc48436..c17bf1168c 100644 --- a/tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/scale_down.py +++ b/tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/scale_down.py @@ -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'] diff --git a/tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/scale_up.py b/tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/scale_up.py index 3b3aac5fbe..7f114d10df 100644 --- a/tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/scale_up.py +++ b/tests/topotests/bgp_l3vpn_to_bgp_vrf/scripts/scale_up.py @@ -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: -- 2.39.5