From 40d59cd1e8874898a10638635a25b40ea5d621fa Mon Sep 17 00:00:00 2001 From: Eric Harney Date: Thu, 17 Jul 2025 10:15:49 -0400 Subject: [PATCH] RBD unit tests: Set cfg.rados_connect_timeout Unit test jobs occasionally fail because this option is not set - always set it in the cfg initialization to match the options used in the driver. Change-Id: I29a3df4e1f50cbfbaf6758953eb350f00f447704 Signed-off-by: Eric Harney (cherry picked from commit 94c7ca0dad318177e5b15312f5d0b2a9e3a22929) --- cinder/tests/unit/volume/drivers/test_rbd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cinder/tests/unit/volume/drivers/test_rbd.py b/cinder/tests/unit/volume/drivers/test_rbd.py index baddc7808d1..5fc4b9eaec2 100644 --- a/cinder/tests/unit/volume/drivers/test_rbd.py +++ b/cinder/tests/unit/volume/drivers/test_rbd.py @@ -190,6 +190,7 @@ class RBDTestCase(test.TestCase): cfg.volume_backend_name = None cfg.volume_dd_blocksize = '1M' cfg.rbd_store_chunk_size = 4 + cfg.rados_connect_timeout = -1 cfg.rados_connection_retries = 3 cfg.rados_connection_interval = 5 cfg.backup_use_temp_snapshot = False