Skip to content

Commit

Permalink
tests: Ajusting the test to the new OSPF6 behaviour
Browse files Browse the repository at this point in the history
Now OSPF6 shares the /128 prefix by default. Adjusting the expected
number of next hops according to that.

Signed-off-by: Adriano Marto Reis <[email protected]>
  • Loading branch information
adrianomarto committed Oct 8, 2023
1 parent 554cbf7 commit 846c975
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,14 +164,14 @@ def expect_num_nexthops(router, expected_num_nexthops, count):
"'{}' wrong number of route nexthops".format(router)

# Check nexthops pre link-down
expect_num_nexthops("r1", [1, 1, 1, 3, 3, 3, 3, 3], 4)
expect_num_nexthops("r1", [1, 1, 1, 3, 3, 3, 3, 3, 3, 3], 4)

logger.info("triggering R2-R4 link down")
tgen.gears["r2"].run("ip link set r2-eth1 down")

#tgen.mininet_cli()
# Check nexthops post link-down
expect_num_nexthops("r1", [1, 1, 1, 2, 2, 2, 2, 2], 8)
expect_num_nexthops("r1", [1, 1, 1, 2, 2, 2, 2, 2, 2, 2], 8)


def teardown_module(_mod):
Expand Down

0 comments on commit 846c975

Please sign in to comment.