]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph_test_rados_api_*: wait for snap trim on ENOENT during cleanup 15638/head
authorSage Weil <sage@redhat.com>
Mon, 12 Jun 2017 18:57:22 +0000 (14:57 -0400)
committerSage Weil <sage@redhat.com>
Mon, 12 Jun 2017 18:57:22 +0000 (14:57 -0400)
commit430223763779d0648c62579cfff8bd12e96ddc01
treecd94bc0f794f20b8be860deeb4d76a7ebe01472d
parentb98fad9b1c2d61cd5c1b60c89129ea98696fecec
ceph_test_rados_api_*: wait for snap trim on ENOENT during cleanup

Assume that an ENOENT removing an object during cleanup means the
head is a whiteout because there are clones.  When that happens
just sleep for a bit and then retry in the hopes that snap
trimming has happened.

Time out (and fail) after retrying for 10 minutes' worth of tries.

Fixes: http://tracker.ceph.com/issues/19948
Signed-off-by: Sage Weil <sage@redhat.com>
src/test/librados/TestCase.cc