[OVN] Bump up transaction timeout for functional tests

On heavy loaded environments, like Neutron gates, we can
observe sporadic failures of functional tests, that are
timeouts.

Lets increase the timeout value to 15 seconds for functional
tests because looks like 5 seconds is not enought.

Change-Id: I327de751e3ba26c5be03b2571b105492661999cb
Closes-Bug: 1868110
This commit is contained in:
Maciej Józefczyk 2020-04-06 10:02:56 +00:00
parent cc0b93374c
commit f93aebe790
1 changed files with 4 additions and 4 deletions

View File

@ -260,11 +260,11 @@ class TestOVNFunctionalBase(test_plugin.Ml2PluginV2TestCase,
set_cfg('ovn_sb_certificate', self.ovsdb_server_mgr.certificate, 'ovn')
set_cfg('ovn_sb_ca_cert', self.ovsdb_server_mgr.ca_cert, 'ovn')
# 5 seconds should be more than enough for the transaction to complete
# for the test cases.
# This also fixes the bug #1607639.
# NOTE(mjozefcz): We can find occasional functional test
# failures because of low timeout value - set it to 15
# seconds, should be enought. More info: 1868110
cfg.CONF.set_override(
'ovsdb_connection_timeout', 5,
'ovsdb_connection_timeout', 15,
'ovn')
class TriggerCls(mock.MagicMock):