Merge pull request #9975 from donaldsharp/pim_basic_timings

tests: pim_basic needs to wait for event to happen under load
This commit is contained in:
Jafar Al-Gharaibeh 2021-11-05 14:43:21 -05:00 committed by GitHub
commit 6fbd4db123
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -172,7 +172,11 @@ def test_pim_send_mcast_stream():
}
}
assert topotest.json_cmp(out, expected) is None, "failed to converge pim"
test_func = partial(
topotest.router_json_cmp, r1, "show ip pim upstream json", expected
)
_, result = topotest.run_and_expect(test_func, None, count=20, wait=1)
assert result is None, "failed to converge pim"
# tgen.mininet_cli()