ovsdbapp/ovsdbapp/tests/functional/schema/open_vswitch
Lucas Alvares Gomes d85e5b8029 Fix functional tests timeout race condition
The test_idl_run_exception_terminates test sometimes fails in the gate
with the following error;

ovsdbapp.exceptions.TimeoutException: Commands
[<ovsdbapp.schema.open_vswitch.commands.BridgeExistsCommand object at
0x7fcec0639150>] exceeded timeout 1 seconds

This seems to be due to another test called
test_post_commit_vswitchd_incomplete_timeout setting the transaction
timeout to 1 second. If the tests runs concurrently there's a chance
that such change would also affect the other tests.

This patch is changing the way that we force a timeout for the
test_post_commit_vswitchd_incomplete_timeout test by mocking the
timeout_exceed() method to return True within the scope of that patch
only.

Change-Id: I3f391f0b80285a2418987e2c51985732fa2cc352
Signed-off-by: Lucas Alvares Gomes <lucasagomes@gmail.com>
2018-11-19 13:39:29 +00:00
..
__init__.py Refactor to give other schemas a place to live 2017-04-07 10:20:36 -05:00
fixtures.py Fix BridgeFixture 2017-08-24 10:52:45 -05:00
test_common_db.py Improve DbListCommand operation from O(n^2) to O(n) 2018-05-09 11:43:21 +00:00
test_impl_idl.py Fix functional tests timeout race condition 2018-11-19 13:39:29 +00:00