From 243daff303cc56e98048f9abfa5579791a213483 Mon Sep 17 00:00:00 2001 From: Ashish Pant Date: Mon, 29 Jul 2019 10:09:19 +0530 Subject: tests: Fix topojson static route tests Signed-off-by: Ashish Pant Fix static route test in bgp-basic-functionality-topo1 and example-topojson-test after lib changes Add example-topojson-test to ignore from pytest.ini --- .../bgp-basic-functionality-topo1/test_bgp_basic_functionality.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/topotests/bgp-basic-functionality-topo1/test_bgp_basic_functionality.py') diff --git a/tests/topotests/bgp-basic-functionality-topo1/test_bgp_basic_functionality.py b/tests/topotests/bgp-basic-functionality-topo1/test_bgp_basic_functionality.py index 095ebe3344..e99111d90b 100755 --- a/tests/topotests/bgp-basic-functionality-topo1/test_bgp_basic_functionality.py +++ b/tests/topotests/bgp-basic-functionality-topo1/test_bgp_basic_functionality.py @@ -375,7 +375,7 @@ def test_static_routes(request): # Verifying RIB routes dut = 'r3' protocol = 'bgp' - next_hop = '10.0.0.2' + next_hop = ['10.0.0.2', '10.0.0.5'] result = verify_rib(tgen, 'ipv4', dut, input_dict, next_hop=next_hop, protocol=protocol) assert result is True, "Testcase {} :Failed \n Error: {}". \ -- cgit v1.2.3