]> git.proxmox.com Git - mirror_frr.git/commitdiff
topotests: bump MSDP mesh group test wait time
authorRafael Zalamena <rzalamena@opensourcerouting.org>
Thu, 17 Jun 2021 12:08:39 +0000 (09:08 -0300)
committerRafael Zalamena <rzalamena@opensourcerouting.org>
Fri, 25 Jun 2021 18:06:20 +0000 (15:06 -0300)
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>
tests/topotests/msdp_mesh_topo1/test_msdp_mesh_topo1.py

index 719ead091c652225389f47280bdc88c6b171adcb..222fb28ade355463508ce8a0f43fddf59dc50490 100644 (file)
@@ -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