Skip to content

Commit

Permalink
Merge pull request #6044 from donaldsharp/bfd_increase_timers_in_test
Browse files Browse the repository at this point in the history
tests: Increase some wait time in tests
  • Loading branch information
Mark Stapp authored Mar 19, 2020
2 parents 1f7170c + 3330837 commit 795fbef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/topotests/bfd-bgp-cbit-topo3/test_bfd_bgp_cbit_topo3.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def test_bfd_connection():

test_func = partial(topotest.router_json_cmp,
router, 'show bfd peers json', expected)
_, result = topotest.run_and_expect(test_func, None, count=8, wait=0.5)
_, result = topotest.run_and_expect(test_func, None, count=16, wait=0.5)
assertmsg = '"{}" JSON output mismatches'.format(router.name)
assert result is None, assertmsg

Expand Down Expand Up @@ -173,7 +173,7 @@ def test_bfd_loss_intermediate():

test_func = partial(topotest.router_json_cmp,
router, 'show bfd peers json', expected)
_, result = topotest.run_and_expect(test_func, None, count=8, wait=0.5)
_, result = topotest.run_and_expect(test_func, None, count=16, wait=0.5)
assertmsg = '"{}" JSON output mismatches'.format(router.name)
assert result is None, assertmsg

Expand Down Expand Up @@ -229,7 +229,7 @@ def test_bfd_comes_back_again():

test_func = partial(topotest.router_json_cmp,
router, 'show bfd peers json', expected)
_, result = topotest.run_and_expect(test_func, None, count=8, wait=0.5)
_, result = topotest.run_and_expect(test_func, None, count=16, wait=0.5)
assertmsg = '"{}" JSON output mismatches'.format(router.name)
assert result is None, assertmsg

Expand Down

0 comments on commit 795fbef

Please sign in to comment.