Merge "[OVN] Bump up transaction timeout for functional tests"
This commit is contained in:
commit
b68000a6fd
|
@ -260,11 +260,11 @@ class TestOVNFunctionalBase(test_plugin.Ml2PluginV2TestCase,
|
||||||
set_cfg('ovn_sb_certificate', self.ovsdb_server_mgr.certificate, 'ovn')
|
set_cfg('ovn_sb_certificate', self.ovsdb_server_mgr.certificate, 'ovn')
|
||||||
set_cfg('ovn_sb_ca_cert', self.ovsdb_server_mgr.ca_cert, '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
|
# NOTE(mjozefcz): We can find occasional functional test
|
||||||
# for the test cases.
|
# failures because of low timeout value - set it to 15
|
||||||
# This also fixes the bug #1607639.
|
# seconds, should be enought. More info: 1868110
|
||||||
cfg.CONF.set_override(
|
cfg.CONF.set_override(
|
||||||
'ovsdb_connection_timeout', 5,
|
'ovsdb_connection_timeout', 15,
|
||||||
'ovn')
|
'ovn')
|
||||||
|
|
||||||
class TriggerCls(mock.MagicMock):
|
class TriggerCls(mock.MagicMock):
|
||||||
|
|
Loading…
Reference in New Issue