ovsdbapp/ovsdbapp/tests
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
..
functional Fix functional tests timeout race condition 2018-11-19 13:39:29 +00:00
unit ut: Patch get_ident for race transaction test 2018-09-21 11:19:12 +00:00
__init__.py Add cookiecutter output 2017-02-24 15:02:19 -05:00
base.py Add cookiecutter output 2017-02-24 15:02:19 -05:00
utils.py Remove ignoring _ builtin usage for pep8 2017-06-26 16:53:26 +08:00