From: Ilya Dryomov Date: Thu, 29 Jan 2026 20:41:03 +0000 (+0100) Subject: qa/workunits/rbd: reduce randomized sleeps in live import tests X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=592e3a9846b130c7321481f8b2bf9dba2fb05195;p=ceph.git 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 --- 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}