diff options
author | Neale Ranns <nranns@cisco.com> | 2020-04-07 08:44:20 +0000 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2020-08-07 20:49:18 +0000 |
commit | 8ae62b712329d04e685ef7fecac7e843c4f0e8e7 (patch) | |
tree | 83dfba462cf07d4746abd9ddfd3e493c44d4a5ec /src/plugins/gbp/gbp_contract.h | |
parent | 193c9e36a4191e9f9cfa232f67c198e73bb84fe2 (diff) |
gbp: More reliable unit-tests
Type: fix
the GBP unit tests would peridocially fail. The reason being that there
is dynamic state whose presence nneds to be created, tested and then
timeed out. The failures occurded when the timeout occured before the
state could be tested. the previous timeout was 2 seconds, this has been
doubled, as a result i saw no faliures running continuously for ~16
hours.
bumping the timer increasing the test run time from ~40 to ~53 seconds,
a small price to pay.
in test cases where the state is not timed out i bumped the timer to 60
seconds.
Signed-off-by: Neale Ranns <nranns@cisco.com>
Change-Id: I11b0970570caa8eebf486fe8cd8e44a4b2b1fc36
(cherry picked from commit 8d0d8d2fcccd77e462f30b21f7f8810db312ee62)
Diffstat (limited to 'src/plugins/gbp/gbp_contract.h')
0 files changed, 0 insertions, 0 deletions