]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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>
Wed, 15 Jan 2025 10:16:31 +0000 (10:16 +0000)
commit652c5025a957ea4dc4a0a5ee333b7d24da1e18da
treed57af527e3d2fbfefa7e54ca676bc103201f20ee
parentd9f1d536c126b8e911e51dc68ae7b73b23ed4c02
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 ce2378108f8630ec6ea195d66ff89cb71497b767)
src/test/librados/io_cxx.cc
src/test/librados/testcase_cxx.cc
src/test/librados/testcase_cxx.h