summaryrefslogtreecommitdiff
path: root/lib/filter_cli.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2024-07-26 14:15:40 -0400
committerDonald Sharp <sharpd@nvidia.com>2024-07-26 14:19:49 -0400
commit77a296cb0898b1839ef4a86a7ad1a4b7d33270e8 (patch)
tree316a2fcd716ab5e9cadb94ff9214c3d0ec93b802 /lib/filter_cli.c
parent6914cceea2ac6c9caed6cd7035e7c163ebc9d6ce (diff)
tests: Fix test_bgp_vpnv6_per_nexthop_label.py to handle timing changes
So the test script is making changes to a vpn configuration by changing something fundamental about the vpn. This is causing a window where routes we are interested in are: present ( from pre-change ) then withdrawn ( the test change causes this ) then present ( with the new data ) The test code was trying to test for this by checking to see if the prefix was there, but due to timing issues it's not always there when we look for it. Modify the test to get the vpn table version prior to the change( as that it should not be moving around ) and then change the test for the prefix to look for a version that is later than the vpn's table version. Then we know that it is *after* everything has stabilized again. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/filter_cli.c')
0 files changed, 0 insertions, 0 deletions