Skip to content

Commit

Permalink
Merge pull request #13752 from donaldsharp/fix_suppress_fib_test
Browse files Browse the repository at this point in the history
tests: Fix missing assert for test case in bgp_suppress_fib
  • Loading branch information
ton31337 authored Jun 11, 2023
2 parents 5b28833 + ae88ba4 commit b65f332
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/topotests/bgp_suppress_fib/test_bgp_suppress_fib.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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():
Expand Down

0 comments on commit b65f332

Please sign in to comment.