From f93aebe7903becb7289e08e0a9237170818b3a8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20J=C3=B3zefczyk?= Date: Mon, 6 Apr 2020 10:02:56 +0000 Subject: [PATCH] [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 --- neutron/tests/functional/base.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/neutron/tests/functional/base.py b/neutron/tests/functional/base.py index 3e408b7a66f..f1731a1a3b2 100644 --- a/neutron/tests/functional/base.py +++ b/neutron/tests/functional/base.py @@ -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):