Files
osrg-gobgp/test
IWASE YusukeandFUJITA Tomonori af61e847ce scenario_test: Enable to try assertion several times
Some times, on Travis-CI, some test cases fail unexpectedly in checking
paths in RIBs due to advertisements are not yet received from other
routers.
Currently, in order to avoid this unexpected result, "time.sleep" is
inserted after adding new routes, but it is not enough.

This patch introduces a new function to enable to do assertion several
times and avoid failure with the first assertion.

Note: This patch does not introduces this change into all test cases, do
only into some test cases which fail relatively frequently.

Signed-off-by: IWASE Yusuke <[email protected]>
2018-01-27 20:48:42 +09:00
..