diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2023-05-19 16:03:57 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-05-22 10:06:07 -0400 |
| commit | b9de32473d84c387d823fe9543a7f895f7c9fc54 (patch) | |
| tree | eb569853fa34599e387458751990010b0f86e46a /lib/module.h | |
| parent | 4d7f6295c6487b438d50280c1d7ddfe490d4749c (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 'lib/module.h')
0 files changed, 0 insertions, 0 deletions
