]> git.proxmox.com Git - mirror_frr.git/commit
tests: After clear give it more than 90 seconds to come up
authorDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 11 Jun 2020 13:47:15 +0000 (09:47 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 11 Jun 2020 13:53:05 +0000 (09:53 -0400)
commit6a6f3d5a606e6914b56abfddef245969ac4aac5f
treeeee4b7c80c9dedb2cf4c95b5a23fd9e415a29511
parent14dee36af1f01e6b94e61e0c6a33c61902374cb1
tests: After clear give it more than 90 seconds to come up

Error Message seen:
2020-06-11 14:00:35,288 ERROR: assert failed at "test_ebgp_ecmp_topo2/test_ecmp_after_clear_bgp[redist_static]": Testcase test_ecmp_after_clear_bgp[redist_static] : Failed
   Error: TIMEOUT!! BGP is not converged in 30 seconds for router r3
assert 'TIMEOUT!! BGP is not converged in 30 seconds for router r3' is True

if a retry for a failed connection is 120 seconds we should wait slightly
longer than a retry session, which this clear test was not doing.
Especially since we know our topotests are lossy on data under load.

Apparently I changed this earlier to 90 seconds, but a retry window
is 120.  Not sure wtf I was thinking

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
tests/topotests/lib/bgp.py