]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/cbjournal: do rb_device.reset() unconditionally
authormyoungwon oh <ohmyoungwon@gmail.com>
Thu, 12 May 2022 07:45:35 +0000 (16:45 +0900)
committermyoungwon oh <ohmyoungwon@gmail.com>
Thu, 19 May 2022 00:51:36 +0000 (09:51 +0900)
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
src/test/crimson/seastore/transaction_manager_test_state.h

index dfa3b8e2eb60775b1731ff8df5b2205fbfd2a5f3..8f2934cf8b2efe91a1e792d0af057e661f20984a 100644 (file)
@@ -122,9 +122,7 @@ protected:
       for (auto &sec_sm : secondary_segment_managers) {
         sec_sm.reset();
       }
-      if (tm_config.j_type == journal_type::CIRCULARBOUNDED_JOURNAL) {
-       rb_device.reset();
-      }
+      rb_device.reset();
     });
   }
 };