]> git.proxmox.com Git - mirror_frr.git/commit
tests: Fix zebra_seg6_route to not always reinstall the same route
authorDonald Sharp <sharpd@nvidia.com>
Fri, 29 Oct 2021 14:21:28 +0000 (10:21 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Fri, 29 Oct 2021 17:17:54 +0000 (13:17 -0400)
commit7d2cf93636c1bb93cbd59c5a3a7ab0fb12079b69
tree6e4829f622e6cf95a4a1565ad4a94db8ba4390a0
parent25347872bf6c62ae596d95571edfec3df38333a1
tests: Fix zebra_seg6_route to not always reinstall the same route

This code has two issues:

a) The loop to test for successful installation re-installs
the route every time it loops.  A system under load will
have issues ensuring the route is installed and repeated
attempts does not help

b) The nexthop group installation was always failing
but never noticed (because of the previous commit)
and the test was always passing, when it should
have never passed.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
tests/topotests/zebra_seg6_route/r1/routes.json
tests/topotests/zebra_seg6_route/test_zebra_seg6_route.py