]> git.proxmox.com Git - mirror_frr.git/commit - tests/topotests/bgp_srv6l3vpn_to_bgp_vrf3/test_bgp_srv6l3vpn_to_bgp_vrf3.py
tests: Fix topotests for bgp_srv6l3vpn
authorRyoga Saito <ryoga.saito@linecorp.com>
Sun, 4 Dec 2022 07:51:24 +0000 (16:51 +0900)
committerRyoga Saito <ryoga.saito@linecorp.com>
Sun, 4 Dec 2022 08:02:30 +0000 (17:02 +0900)
commit625fe20b6d31ede873dbffef50c1bcb2cdaa1841
tree1b427c3a3d7a1af3634f8b6eb97e9c47e4f3fe2d
parentc7e804c900a6cac81ad0c726093e41f64b739bc0
tests: Fix topotests for bgp_srv6l3vpn

In bgp_srv6l3vpn tests, check_ping checks reachability. However, this
function have a bug and if we set expect_connected to True, check will
pass even if all ping packets are lost. This commit fixes this issue.

Signed-off-by: Ryoga Saito <ryoga.saito@linecorp.com>
tests/topotests/bgp_srv6l3vpn_to_bgp_vrf/test_bgp_srv6l3vpn_to_bgp_vrf.py
tests/topotests/bgp_srv6l3vpn_to_bgp_vrf2/test_bgp_srv6l3vpn_to_bgp_vrf2.py
tests/topotests/bgp_srv6l3vpn_to_bgp_vrf3/test_bgp_srv6l3vpn_to_bgp_vrf3.py