summaryrefslogtreecommitdiffstats
path: root/tests/topotests/pim_basic_topo2
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-11-22 10:17:27 +0100
committerDonatas Abraitis <donatas@opensourcerouting.org>2022-11-22 12:38:10 +0100
commitd3a6af081ed18ce245ccaa89d6096ac034bb09cf (patch)
treefef8754aebfcfaa61e961e767228c42c605e36d2 /tests/topotests/pim_basic_topo2
parenttests: Fail tests immediately if they use too low wait/count values (diff)
downloadfrr-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.py4
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