]> git.puffer.fish Git - mirror/frr.git/commit
topotests: label per nexthop test adds add a while loop for mpls table 13665/head
authorPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 2 Jun 2023 08:55:07 +0000 (10:55 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Tue, 20 Jun 2023 07:09:22 +0000 (09:09 +0200)
commitf2732f531f244ff75bb8d97cb7b21ae07f187277
tree8b513d8c61ce473155593188e6d51b800243be0e
parent4230f85bef81902c6edc6b650096262f9a166baa
topotests: label per nexthop test adds add a while loop for mpls table

The bgp_vpnv4_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_vpnv4_per_nexthop_label/test_bgp_vpnv4_per_nexthop_label.py