summaryrefslogtreecommitdiff
path: root/tests/topotests/lib/common_config.py
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-05-19 16:03:57 -0400
committerDonald Sharp <sharpd@nvidia.com>2023-05-22 10:06:07 -0400
commitb9de32473d84c387d823fe9543a7f895f7c9fc54 (patch)
treeeb569853fa34599e387458751990010b0f86e46a /tests/topotests/lib/common_config.py
parent4d7f6295c6487b438d50280c1d7ddfe490d4749c (diff)
tests: Slow bgp_default_originate test down slightly
The test is performing these steps: a) get timestamp of route installed in zebra b) <make changes> c) get new timestamp of route installed in zebra If < 1 second happens between A and C the test assumes that something went wrong, as that it is testing to see if the route was reinstalled <yes I know>. Just sleep 1 second after a) happens so that if a reinstall happens we can easily see it, and we also know that if a reinstall doesn't happen then the new timestamp will always be 1 second or greater. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'tests/topotests/lib/common_config.py')
0 files changed, 0 insertions, 0 deletions