mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 16:04:49 +00:00
Merge pull request #6685 from donaldsharp/fix_rare_ospf_test_failure
tests: Fix rare case in ospf tests due to small hello timer
This commit is contained in:
commit
3a298c75fd
@ -599,6 +599,7 @@ def test_ospfv2_interfaces():
|
||||
|
||||
# Drop time in next due
|
||||
actual = re.sub(r"Hello due in [0-9\.]+s", "Hello due in XX.XXXs", actual)
|
||||
actual = re.sub(r"Hello due in [0-9\.]+ usecs", "Hello due in XX.XXXs", actual)
|
||||
# Fix 'MTU mismatch detection: enabled' vs 'MTU mismatch detection:enabled' - accept both
|
||||
actual = re.sub(r"MTU mismatch detection:([a-z]+.*)", r"MTU mismatch detection: \1", actual)
|
||||
# Fix newlines (make them all the same)
|
||||
|
Loading…
Reference in New Issue
Block a user