diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2022-11-19 07:31:57 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2022-11-21 19:42:18 -0500 |
| commit | c6653ab2ebc4b8043ec1dccf188a5428d463c56c (patch) | |
| tree | 90ee103cecc04dca1838016832296554c29eb5cb /tests/topotests/bgp_tcp_mss/test_bgp_tcp_mss.py | |
| parent | 6d48dfcb71d45b0bdef99b0b094a2f236544cfb9 (diff) | |
tests: Expand minimum run_and_expect to 5 seconds
Ensure that the minimum time spent run and expecting is
5 seconds. Heavy load is not a reason to fail a test.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'tests/topotests/bgp_tcp_mss/test_bgp_tcp_mss.py')
| -rw-r--r-- | tests/topotests/bgp_tcp_mss/test_bgp_tcp_mss.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/topotests/bgp_tcp_mss/test_bgp_tcp_mss.py b/tests/topotests/bgp_tcp_mss/test_bgp_tcp_mss.py index eed0b34371..acf89835e1 100644 --- a/tests/topotests/bgp_tcp_mss/test_bgp_tcp_mss.py +++ b/tests/topotests/bgp_tcp_mss/test_bgp_tcp_mss.py @@ -153,7 +153,7 @@ def test_bgp_tcp_mss(): "Verify if TCP MSS value is synced with neighbor in {}".format(router1.name) ) test_func = functools.partial(_bgp_check_neighbor_tcp_mss, router1, "192.168.255.2") - success, result = topotest.run_and_expect(test_func, None, count=3, wait=0.5) + success, result = topotest.run_and_expect(test_func, None, count=10, wait=0.5) assert ( result is None ), 'Failed to sync TCP MSS value over BGP session in "{}"'.format(router1.name) @@ -163,7 +163,7 @@ def test_bgp_tcp_mss(): "Verify if TCP MSS value is synced with neighbor in {}".format(router2.name) ) test_func = functools.partial(_bgp_check_neighbor_tcp_mss, router2, "192.168.255.1") - success, result = topotest.run_and_expect(test_func, None, count=3, wait=0.5) + success, result = topotest.run_and_expect(test_func, None, count=10, wait=0.5) assert ( result is None ), 'Failed to sync TCP MSS value over BGP session in "{}"'.format(router2.name) |
