]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/seastore: return journal type with less lines
authormyoungwon oh <ohmyoungwon@gmail.com>
Thu, 12 May 2022 06:33:50 +0000 (15:33 +0900)
committermyoungwon oh <ohmyoungwon@gmail.com>
Thu, 19 May 2022 00:51:22 +0000 (09:51 +0900)
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
src/test/crimson/seastore/test_transaction_manager.cc

index 10d8fecd2701508d798bc1c9ae96b8181c66e480..0219f2dffe82bd47b4866204b54d75c732af0322 100644 (file)
@@ -74,10 +74,7 @@ struct transaction_manager_test_t :
 
   bool for_segmented() {
     std::string j_type = GetParam();
-    if (j_type == "segmented") {
-      return true;
-    }
-    return false;
+    return j_type == "segmented";
   }
   seastar::future<> set_up_fut() final {
     std::string j_type = GetParam();