]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test/librados/io_cxx: fix ec overwrites cleanup in CrcZeroWrite
authorSamuel Just <sjust@redhat.com>
Fri, 31 May 2024 17:19:51 +0000 (17:19 +0000)
committerNitzan Mordechai <nmordech@redhat.com>
Thu, 27 Jun 2024 11:09:52 +0000 (11:09 +0000)
commitb7ef40e540aea8e7aeffe0ce4f81fb70e0ecfc7e
treeb737107eb1a495c5b07b87f9cfc3195f005795e9
parent31cc795d59e46f6356f6dcfe74fa836b1d2ed16f
test/librados/io_cxx: fix ec overwrites cleanup in CrcZeroWrite

We can't rely on recreating the pool at the end of the test case because
failing an assert in CrcZeroWrite would skip it.  Instead, recreate the
pool in TearDown with other cleanup.

Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 85ace61c2f01d814bdcc5fbce0320f10c5a606cc)
src/test/librados/io_cxx.cc
src/test/librados/testcase_cxx.cc
src/test/librados/testcase_cxx.h