Merge pull request #13971 from opensourcerouting/fix-bgp-delayopen-expire-test

tests: fix BGP delayopen timer expiration test
This commit is contained in:
Russ White 2023-07-11 10:09:01 -04:00 committed by GitHub
commit 8467a99b02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1063,7 +1063,7 @@ def test_bgp_delayopen_dual():
delay_stop = int(time.time())
assertmsg = "BGP peering between r2 and r5 was established before DelayOpenTimer (30sec) on r2 could expire"
assert (delay_stop - delay_start) > 30, assertmsg
assert (delay_stop - delay_start) >= 30, assertmsg
# 3.8 unset delayopen on R2 and R5
logger.info("Disabling DelayOpenTimer for neighbor r5 on r2")