From 846c9755903b98c388a67bc698281dc5b143441f Mon Sep 17 00:00:00 2001 From: Adriano Marto Reis Date: Sun, 8 Oct 2023 13:34:34 +1000 Subject: [PATCH] tests: Ajusting the test to the new OSPF6 behaviour Now OSPF6 shares the /128 prefix by default. Adjusting the expected number of next hops according to that. Signed-off-by: Adriano Marto Reis --- .../ospf6_ecmp_inter_area/test_ospf6_ecmp_inter_area.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/topotests/ospf6_ecmp_inter_area/test_ospf6_ecmp_inter_area.py b/tests/topotests/ospf6_ecmp_inter_area/test_ospf6_ecmp_inter_area.py index ec15ff9b1a37..fe0afdcbb6de 100644 --- a/tests/topotests/ospf6_ecmp_inter_area/test_ospf6_ecmp_inter_area.py +++ b/tests/topotests/ospf6_ecmp_inter_area/test_ospf6_ecmp_inter_area.py @@ -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):