From 592e3a9846b130c7321481f8b2bf9dba2fb05195 Mon Sep 17 00:00:00 2001 From: Ilya Dryomov Date: Thu, 29 Jan 2026 21:41:03 +0100 Subject: [PATCH] qa/workunits/rbd: reduce randomized sleeps in live import tests These tests were tuned for slower hardware than what we have now. Currently "rbd migration execute" always finishes (successfully) before the NBD server is killed. Fixes: https://tracker.ceph.com/issues/74669 Signed-off-by: Ilya Dryomov --- qa/workunits/rbd/cli_migration.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qa/workunits/rbd/cli_migration.sh b/qa/workunits/rbd/cli_migration.sh index d4bcf7f77dff..37ab26d2c0f2 100755 --- a/qa/workunits/rbd/cli_migration.sh +++ b/qa/workunits/rbd/cli_migration.sh @@ -622,7 +622,7 @@ EOF qemu-img compare ${TEMPDIR}/large.raw rbd:rbd/${dest_image} rbd migration execute ${dest_image} & migration_execute_pid=$! - sleep $((5 + RANDOM % 35)) + sleep $((5 + RANDOM % 5)) kill_nbd_server expect_false wait $migration_execute_pid expect_false rbd status ${dest_image} @@ -638,7 +638,7 @@ EOF qemu-img compare ${TEMPDIR}/large.raw rbd:rbd/${dest_image} rbd migration execute ${dest_image} & migration_execute_pid=$! - sleep $((5 + RANDOM % 35)) + sleep $((5 + RANDOM % 5)) kill_nbd_server expect_false wait $migration_execute_pid expect_false rbd status ${dest_image} -- 2.47.3