Merge "[OVN] Bump up transaction timeout for functional tests"

This commit is contained in:
Zuul 2020-04-09 21:50:56 +00:00 committed by Gerrit Code Review
commit b68000a6fd
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_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):