mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 06:50:17 +00:00
Merge pull request #9587 from opensourcerouting/all-proto-test-fix
tests: Fix BGP check in all_protocol_startup
This commit is contained in:
commit
0b4c566b1c
@ -932,6 +932,9 @@ def test_bgp_summary():
|
|||||||
# Remove Unknown Summary (all of it)
|
# Remove Unknown Summary (all of it)
|
||||||
actual = re.sub(r"Unknown Summary \(VRF default\):", "", actual)
|
actual = re.sub(r"Unknown Summary \(VRF default\):", "", actual)
|
||||||
actual = re.sub(r"No Unknown neighbor is configured", "", actual)
|
actual = re.sub(r"No Unknown neighbor is configured", "", actual)
|
||||||
|
# Make Connect/Active/Idle the same (change them all to Active)
|
||||||
|
actual = re.sub(r" Connect ", " Active ", actual)
|
||||||
|
actual = re.sub(r" Idle ", " Active ", actual)
|
||||||
|
|
||||||
actual = re.sub(
|
actual = re.sub(
|
||||||
r"IPv4 labeled-unicast Summary \(VRF default\):", "", actual
|
r"IPv4 labeled-unicast Summary \(VRF default\):", "", actual
|
||||||
@ -1089,6 +1092,9 @@ def test_bgp_ipv6_summary():
|
|||||||
# Remove Unknown Summary (all of it)
|
# Remove Unknown Summary (all of it)
|
||||||
actual = re.sub(r"Unknown Summary \(VRF default\):", "", actual)
|
actual = re.sub(r"Unknown Summary \(VRF default\):", "", actual)
|
||||||
actual = re.sub(r"No Unknown neighbor is configured", "", actual)
|
actual = re.sub(r"No Unknown neighbor is configured", "", actual)
|
||||||
|
# Make Connect/Active/Idle the same (change them all to Active)
|
||||||
|
actual = re.sub(r" Connect ", " Active ", actual)
|
||||||
|
actual = re.sub(r" Idle ", " Active ", actual)
|
||||||
|
|
||||||
# Remove Labeled Unicast Summary (all of it)
|
# Remove Labeled Unicast Summary (all of it)
|
||||||
actual = re.sub(
|
actual = re.sub(
|
||||||
|
Loading…
Reference in New Issue
Block a user