Skip to content

Commit

Permalink
Merge pull request FRRouting#13659 from donaldsharp/increase_mgmt_time
Browse files Browse the repository at this point in the history
tests: new mgmt_startup tests are failing due to insufficient time
  • Loading branch information
ton31337 authored Jun 2, 2023
2 parents 0f1a66f + 84af55b commit ff82184
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tests/topotests/mgmt_startup/test_bigconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ def test_staticd_latestart(tgen):
check_vtysh_up(r1)
logging.info("r1: vtysh connected after %ss", track.elapsed())

result = check_kernel(r1, ROUTE_RANGE[0], retry_timeout=20)
result = check_kernel(r1, ROUTE_RANGE[0], retry_timeout=60)
assert result is None
logging.info("r1: first route installed after %ss", track.elapsed())

result = check_kernel(r1, ROUTE_RANGE[1], retry_timeout=20)
result = check_kernel(r1, ROUTE_RANGE[1], retry_timeout=60)
assert result is None
logging.info("r1: last route installed after %ss", track.elapsed())
6 changes: 3 additions & 3 deletions tests/topotests/mgmt_startup/test_late_bigconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,15 @@ def test_staticd_latestart(tgen):
check_vtysh_up(r1)
logging.info("r1: vtysh connected after %ss", track.elapsed())

result = check_kernel(r1, ROUTE_RANGE[0], retry_timeout=20, expected=False)
result = check_kernel(r1, ROUTE_RANGE[0], retry_timeout=60, expected=False)
assert result is not None, "first route present and should not be"
result = check_kernel(r1, ROUTE_RANGE[1], retry_timeout=20, expected=False)
result = check_kernel(r1, ROUTE_RANGE[1], retry_timeout=60, expected=False)
assert result is not None, "last route present and should not be"

step("Starting staticd")
r1.startDaemons(["staticd"])

result = check_kernel(r1, ROUTE_RANGE[0], retry_timeout=60)
assert result is None, "first route not present and should be"
result = check_kernel(r1, ROUTE_RANGE[1], retry_timeout=20)
result = check_kernel(r1, ROUTE_RANGE[1], retry_timeout=60)
assert result is None, "last route not present and should be"

0 comments on commit ff82184

Please sign in to comment.