]> git.puffer.fish Git - mirror/frr.git/commit
topotests: label per nexthop ipv6 test adds add a while loop for mpls table 13915/head
authorPhilippe Guibert <philippe.guibert@6wind.com>
Mon, 3 Jul 2023 08:06:08 +0000 (10:06 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 5 Jul 2023 19:58:38 +0000 (21:58 +0200)
commit48f73cbd2f16b17e075d18e19ccfcd0fbb3e6db8
tree98f5463d52ce99c2eacc1bea12e6f6b03ffd2c6c
parentd6caf0dbd7bc9c516d178430ca571ac0c94df84d
topotests: label per nexthop ipv6 test adds add a while loop for mpls table

The bgp_vpnv6_per_nexthop_label tests only check to see if the mpls labels
are installed one time. Test runs show that all but one label is installed.
More than likely the test has asked for data while zebra is still installing
it. the mpls_label_check functions must check this result multiple times as
that system may be under heavy load.

A loop is introduced in order to let zebra check the mpls table.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
tests/topotests/bgp_vpnv6_per_nexthop_label/test_bgp_vpnv6_per_nexthop_label.py