From: Rafael Zalamena Date: Thu, 17 Jun 2021 12:08:39 +0000 (-0300) Subject: topotests: bump MSDP mesh group test wait time X-Git-Tag: base_8.1~364^2~1 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=858252d0c575e88bc07462e7e8f8bddf65fa62ca;p=mirror%2Ffrr.git 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 --- diff --git a/tests/topotests/msdp_mesh_topo1/test_msdp_mesh_topo1.py b/tests/topotests/msdp_mesh_topo1/test_msdp_mesh_topo1.py index 719ead091c..222fb28ade 100644 --- a/tests/topotests/msdp_mesh_topo1/test_msdp_mesh_topo1.py +++ b/tests/topotests/msdp_mesh_topo1/test_msdp_mesh_topo1.py @@ -223,7 +223,7 @@ def test_wait_msdp_convergence(): "show ip msdp peer json", {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) assert result is None, assertmsg