gbp: More reliable unit-tests 95/28195/3
authorNeale Ranns <[email protected]>
Tue, 7 Apr 2020 08:44:20 +0000 (08:44 +0000)
committerAndrew Yourtchenko <[email protected]>
Fri, 7 Aug 2020 20:49:18 +0000 (20:49 +0000)
commit8ae62b712329d04e685ef7fecac7e843c4f0e8e7
tree83dfba462cf07d4746abd9ddfd3e493c44d4a5ec
parent193c9e36a4191e9f9cfa232f67c198e73bb84fe2
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 <[email protected]>
Change-Id: I11b0970570caa8eebf486fe8cd8e44a4b2b1fc36
(cherry picked from commit 8d0d8d2fcccd77e462f30b21f7f8810db312ee62)
src/plugins/gbp/test/test_gbp.py