tests: Fix missing assert for test case in bgp_suppress_fib

Test was attempting to test the 60.0.0.0 route but was querying
10.0.0.3 and ignoring the result.  Let's fix it.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
Donald Sharp 2023-06-09 09:25:29 -04:00
parent 1a60c3e9a4
commit ae88ba4b52

View File

@ -94,7 +94,6 @@ def test_bgp_route():
expected,
)
_, result = topotest.run_and_expect(test_func, None, count=10, wait=0.5)
assertmsg = '"r3" JSON output mismatches'
assert result is None, assertmsg
json_file = "{}/r3/v4_route3.json".format(CWD)
@ -103,10 +102,11 @@ def test_bgp_route():
test_func = partial(
topotest.router_json_cmp,
r3,
"show ip route 10.0.0.3 json",
"show ip route 60.0.0.0 json",
expected,
)
_, result = topotest.run_and_expect(test_func, None, count=10, wait=0.5)
assert result is None, assertmsg
def test_bgp_better_admin_won():