summaryrefslogtreecommitdiff
path: root/ospfclient/ospfclient.py
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-05-19 15:54:59 -0400
committerDonald Sharp <sharpd@nvidia.com>2022-05-20 10:31:48 -0400
commit6ec742d95fc444457d27f5d5b59c6045550fe722 (patch)
tree3dc400e7da479ceea7f8cf3874a18fca46b549af /ospfclient/ospfclient.py
parentcbbb1813a6f8880b72f7b5c5f74f20b5dc49a0a4 (diff)
tests: Ensure routes are not queued when calling verify_rib
Lots of tests call verify_rib that takes a list of routes that need to be verified in some fashion. This verify_rib functionality will try up to 12 seconds before failing the check that zebra has the route and has installed it. Unfortunately the verify_rib code was not looking to see if the route was queued for installation and was then allowing tests to immediately do subsuquent steps that depended on that route actually being installed sometimes causing tests to fail. Write a bit of additional code that looks at the queued status and allows the test to wait a bit longer for zebra to finish processing before allowing the test to move on to the next bit. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'ospfclient/ospfclient.py')
0 files changed, 0 insertions, 0 deletions