topotests: bump MSDP mesh group test wait time

On a loaded machine running FRR with ASAN I've got the following result:

  INFO: waiting MSDP connection from peer 10.254.254.3 on router r1
  INFO: 'router_json_cmp' polling started (interval 1 secs, maximum 30 tries)
  INFO: 'router_json_cmp' succeeded after 22.53 seconds

Which is very close to the limit, so lets bump the value 4x to avoid a
test false positive.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
This commit is contained in:
Rafael Zalamena 2021-06-17 09:08:39 -03:00
parent 0ce04a08a3
commit 858252d0c5

View File

@ -223,7 +223,7 @@ def test_wait_msdp_convergence():
"show ip msdp peer json", "show ip msdp peer json",
{peer: {"state": "established", "saCount": sa_count}} {peer: {"state": "established", "saCount": sa_count}}
) )
_, result = topotest.run_and_expect(test_func, None, count=30, wait=1) _, result = topotest.run_and_expect(test_func, None, count=40, wait=2)
assertmsg = '"{}" MSDP connection failure'.format(router) assertmsg = '"{}" MSDP connection failure'.format(router)
assert result is None, assertmsg assert result is None, assertmsg