summaryrefslogtreecommitdiff
path: root/tests/topotests/bgp-basic-functionality-topo1/test_bgp_basic_functionality.py
diff options
context:
space:
mode:
authorAshish Pant <ashish12pant@gmail.com>2019-07-29 10:09:19 +0530
committerAshish Pant <ashish12pant@gmail.com>2019-09-03 07:22:33 +0530
commit243daff303cc56e98048f9abfa5579791a213483 (patch)
tree871c5c72f53db978dbdbcbb0f860552e5c73764a /tests/topotests/bgp-basic-functionality-topo1/test_bgp_basic_functionality.py
parent27d9695dd5603f80d9606a7f8614b38581b52990 (diff)
tests: Fix topojson static route tests
Signed-off-by: Ashish Pant <ashish12pant@gmail.com> 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
Diffstat (limited to 'tests/topotests/bgp-basic-functionality-topo1/test_bgp_basic_functionality.py')
-rwxr-xr-xtests/topotests/bgp-basic-functionality-topo1/test_bgp_basic_functionality.py2
1 files changed, 1 insertions, 1 deletions
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: {}". \