]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
qa/workunits/rbd: drop racy assert in test_tasks_recovery() 67896/head
authorIlya Dryomov <idryomov@gmail.com>
Mon, 9 Mar 2026 11:57:28 +0000 (12:57 +0100)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 19 Mar 2026 13:50:00 +0000 (14:50 +0100)
commit8116eaa57ba1895ec25139d8d62319c22f868c87
treefe72ce105700224704a7ace05de8aa15497e32bc
parentf055e3b5737bb88969e3586a23fca4ef54aca56f
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 <idryomov@gmail.com>
qa/workunits/rbd/cli_generic.sh