From d4dbcd5fa05ac2f988b65d611f71805f90411581 Mon Sep 17 00:00:00 2001 From: Lee Yarwood Date: Fri, 6 Aug 2021 10:02:15 +0100 Subject: [PATCH] func: Increase rpc_response_timeout in TestMultiCellMigrate tests This was previously set really low to 1 second that was leading to more involved flows such as test_delete_while_in_verify_resize_status timing out when the target calls the conductor to confirm the resize on the source. This change simply increases the timeout in the test but we might want to think about moving this call over to rpc_long_timeout this could be an issue in real world deployments. Closes-Bug: #1938021 Change-Id: Ibba2d1506a0b026d35d7bf35384ec6439f438b01 --- nova/tests/functional/test_cross_cell_migrate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/tests/functional/test_cross_cell_migrate.py b/nova/tests/functional/test_cross_cell_migrate.py index eccce774d9..872036b0af 100644 --- a/nova/tests/functional/test_cross_cell_migrate.py +++ b/nova/tests/functional/test_cross_cell_migrate.py @@ -71,7 +71,7 @@ class TestMultiCellMigrate(integrated_helpers.ProviderUsageBaseTestCase): self.created_images = [] # list of image IDs created during resize # Adjust the polling interval and timeout for long RPC calls. - self.flags(rpc_response_timeout=1) + self.flags(rpc_response_timeout=10) self.flags(long_rpc_timeout=60) # Set up 2 compute services in different cells