From 8116eaa57ba1895ec25139d8d62319c22f868c87 Mon Sep 17 00:00:00 2001 From: Ilya Dryomov Date: Mon, 9 Mar 2026 12:57:28 +0100 Subject: [PATCH] qa/workunits/rbd: drop racy assert in test_tasks_recovery() Even though "ceph rbd task list" is executed immediately after a successful "ceph rbd task add flatten", the operation may complete in the interim and the task listing may come back empty legitimately. Given that we are asserting that flatten actually occurs based on "rbd info" output, there is no real need to try to briefly observe the flatten task in the task list. Fixes: https://tracker.ceph.com/issues/75209 Signed-off-by: Ilya Dryomov --- qa/workunits/rbd/cli_generic.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/qa/workunits/rbd/cli_generic.sh b/qa/workunits/rbd/cli_generic.sh index 36fb254eb379..964663b0c21a 100755 --- a/qa/workunits/rbd/cli_generic.sh +++ b/qa/workunits/rbd/cli_generic.sh @@ -2061,7 +2061,6 @@ test_tasks_recovery() { ceph rbd task add flatten rbd2/clone1 && break sleep 10 done - test "$(ceph rbd task list)" != "[]" for i in {1..12}; do rbd info rbd2/clone1 | grep 'parent: ' || break -- 2.47.3