]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/.../test_cbjournal: destroy CircularBoundedJournal instance prior to reactor... 65394/head
authorSamuel Just <sjust@redhat.com>
Tue, 9 Sep 2025 22:47:38 +0000 (22:47 +0000)
committerSamuel Just <sjust@redhat.com>
Wed, 17 Sep 2025 16:23:47 +0000 (09:23 -0700)
Signed-off-by: Samuel Just <sjust@redhat.com>
src/test/crimson/seastore/test_cbjournal.cc

index 47a08d68cbb4552390eb906b104e3db65765affc..10ef16964f9f39cdf362e362d4ec00b0144dc6eb 100644 (file)
@@ -198,7 +198,10 @@ struct cbjournal_test_t : public seastar_test_suite_t, JournalTrimmer
   }
 
   seastar::future<> tear_down_fut() final {
-    return close();
+    return close(
+    ).then([this] {
+      cbj.reset();
+    });
   }
 
   extent_t generate_extent(size_t blocks) {