From: Jafar Al-Gharaibeh Date: Mon, 24 Feb 2025 23:17:02 +0000 (-0600) Subject: Revert "tests: check as number in show run" X-Git-Tag: docker/10.3.0~15^2~5 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=e209f5bf68259fc9748158aa066812732967c757;p=matthieu%2Ffrr.git Revert "tests: check as number in show run" This reverts commit 85c5598bb95aa2eb17e8f617965affa7de627c69. Signed-off-by: Jafar Al-Gharaibeh --- diff --git a/tests/topotests/bgp_vrf_route_leak_basic/r1/bgpd.conf b/tests/topotests/bgp_vrf_route_leak_basic/r1/bgpd.conf index 8363e2bc99..397f7938d2 100644 --- a/tests/topotests/bgp_vrf_route_leak_basic/r1/bgpd.conf +++ b/tests/topotests/bgp_vrf_route_leak_basic/r1/bgpd.conf @@ -1,5 +1,12 @@ hostname r1 +router bgp 99 + no bgp ebgp-requires-policy + address-family ipv4 unicast + redistribute connected + import vrf DONNA + ! +! router bgp 99 vrf DONNA no bgp ebgp-requires-policy address-family ipv4 unicast @@ -24,10 +31,3 @@ router bgp 99 vrf ZITA network 172.16.101.0/24 ! ! -router bgp 99 - no bgp ebgp-requires-policy - address-family ipv4 unicast - redistribute connected - import vrf DONNA - ! -! diff --git a/tests/topotests/bgp_vrf_route_leak_basic/test_bgp-vrf-route-leak-basic.py b/tests/topotests/bgp_vrf_route_leak_basic/test_bgp-vrf-route-leak-basic.py index 61c62cafa6..6d4b436bcc 100644 --- a/tests/topotests/bgp_vrf_route_leak_basic/test_bgp-vrf-route-leak-basic.py +++ b/tests/topotests/bgp_vrf_route_leak_basic/test_bgp-vrf-route-leak-basic.py @@ -64,16 +64,6 @@ def teardown_module(mod): tgen.stop_topology() -def test_router_bgp_as_pretty(): - tgen = get_topogen() - # Don't run this test if we have any failure. - if tgen.routers_have_failure(): - pytest.skip(tgen.errors) - - output = tgen.gears["r1"].vtysh_cmd("show run") - assert "router bgp 99\n" in output, "router bgp 99 not found in show run" - - def test_vrf_route_leak_donna(): logger.info("Ensure that routes are leaked back and forth") tgen = get_topogen()