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 <eharney@redhat.com>
This commit is contained in:
Eric Harney
2025-07-17 10:15:49 -04:00
parent ffa5996381
commit 94c7ca0dad

View File

@@ -196,6 +196,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