diff options
author | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-11-22 10:17:27 +0100 |
---|---|---|
committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2022-11-22 12:38:10 +0100 |
commit | d3a6af081ed18ce245ccaa89d6096ac034bb09cf (patch) | |
tree | fef8754aebfcfaa61e961e767228c42c605e36d2 /tests/topotests/pim_basic_topo2 | |
parent | tests: Fail tests immediately if they use too low wait/count values (diff) | |
download | frr-d3a6af081ed18ce245ccaa89d6096ac034bb09cf.tar.xz frr-d3a6af081ed18ce245ccaa89d6096ac034bb09cf.zip |
tests: Set minimum wait time for tests to 5 seconds
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'tests/topotests/pim_basic_topo2')
-rw-r--r-- | tests/topotests/pim_basic_topo2/test_pim_basic_topo2.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/topotests/pim_basic_topo2/test_pim_basic_topo2.py b/tests/topotests/pim_basic_topo2/test_pim_basic_topo2.py index 9506c3c6d..5aa313137 100644 --- a/tests/topotests/pim_basic_topo2/test_pim_basic_topo2.py +++ b/tests/topotests/pim_basic_topo2/test_pim_basic_topo2.py @@ -175,7 +175,7 @@ def test_pim_reconvergence(): "show ip pim neighbor json", {interface: {peer: None}}, ) - _, result = topotest.run_and_expect(test_func, None, count=4, wait=1) + _, result = topotest.run_and_expect(test_func, None, count=5, wait=1) assertmsg = '"{}" PIM convergence failure'.format(router) assert result is None, assertmsg @@ -201,7 +201,7 @@ def test_pim_bfd_profile(): "show bfd peers json", [settings], ) - _, result = topotest.run_and_expect(test_func, None, count=4, wait=1) + _, result = topotest.run_and_expect(test_func, None, count=5, wait=1) assertmsg = '"{}" BFD convergence failure'.format(router) assert result is None, assertmsg |