From c8478e40bdb996d5e0a1f01ae0ae55e6926f318d Mon Sep 17 00:00:00 2001 From: Balazs Gibizer Date: Wed, 24 Feb 2021 16:44:29 +0100 Subject: [PATCH] Remove short call timeout from func test The bugfix I759aa36dc00a6c0612b9755dacd9aa414c408498 ensured that nova rejectes a volume detach if the compute is down. But the func test still has short rpc timeout set which sometimes causes that the server creates times out on a slow node. Before the bugfix the short timeout was needed to speed up the test but after the fix it is not needed any more so it is removed to stabilize the test. Change-Id: I12990eaca3820e56047e4d0e526c436fd2cfcf31 Related-Bug: #1909120 --- nova/tests/functional/regressions/test_bug_1909120.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/nova/tests/functional/regressions/test_bug_1909120.py b/nova/tests/functional/regressions/test_bug_1909120.py index 6d62a3850eb9..fc8177d7613c 100644 --- a/nova/tests/functional/regressions/test_bug_1909120.py +++ b/nova/tests/functional/regressions/test_bug_1909120.py @@ -27,9 +27,6 @@ class TestDetachVolumeWhileComputeDown(integrated_helpers._IntegratedTestBase): def test_volume_detach_while_compute_down(self): - # _IntegratedTestBase uses CastAsCall so set the response timeout to 1 - self.flags(rpc_response_timeout=1) - # Launch a test instance server = self._create_server(networks='none')