]> git.puffer.fish Git - mirror/frr.git/commit
tests: ospf6_ecmp_inter_area, use router_json_cmp
authorMartin Buck <mb-tmp-tvguho.pbz@gromit.dyndns.org>
Fri, 20 Dec 2024 17:54:58 +0000 (18:54 +0100)
committerMartin Buck <mb-tmp-tvguho.pbz@gromit.dyndns.org>
Tue, 7 Jan 2025 14:21:58 +0000 (15:21 +0100)
commit763069cd3b31e8e469b2cf98c3d808d2187da929
tree574d4cadfc50b7c40d56cac6fe99c45c2dd99e6d
parent8cd73c792c7669d7ce1ec3ca17c3d1992040cad6
tests: ospf6_ecmp_inter_area, use router_json_cmp

Use router_json_cmp when checking for proper nexthops to get better
diagnostics in case of mismatches. Add step() messages to see which check
failed.

Based on original PR#16811 commit:

    expect_num_nexthops() errors are not understandable.

    Use router_json_cmp.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
Signed-off-by: Martin Buck <mb-tmp-tvguho.pbz@gromit.dyndns.org>
tests/topotests/ospf6_ecmp_inter_area/r1/show_ipv6_routes_ospf6-1.json [new file with mode: 0644]
tests/topotests/ospf6_ecmp_inter_area/r1/show_ipv6_routes_ospf6-2.json [new file with mode: 0644]
tests/topotests/ospf6_ecmp_inter_area/r1/show_ipv6_routes_ospf6-3.json [new file with mode: 0644]
tests/topotests/ospf6_ecmp_inter_area/test_ospf6_ecmp_inter_area.py