summaryrefslogtreecommitdiff
path: root/tests/topotests/pim_basic_topo2/test_pim_basic_topo2.py
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2022-11-28 08:10:23 -0500
committerGitHub <noreply@github.com>2022-11-28 08:10:23 -0500
commitd58334ea1c09a911f801e5dd4781af83ae19f689 (patch)
treee79dd7dc9189e02da505f421c92d1a06381ab80d /tests/topotests/pim_basic_topo2/test_pim_basic_topo2.py
parent398c407399280bdc2fcab02f0950218d236a5e69 (diff)
parentd3a6af081ed18ce245ccaa89d6096ac034bb09cf (diff)
Merge pull request #12342 from opensourcerouting/fix/small_waiting_times
tests: Fail tests immediately if they use too low wait/count values
Diffstat (limited to 'tests/topotests/pim_basic_topo2/test_pim_basic_topo2.py')
-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 9506c3c6d1..5aa313137f 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