]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/crimson/../test_transaction_manager: adjust log level
authorYingxin Cheng <yingxin.cheng@intel.com>
Thu, 24 Mar 2022 02:44:08 +0000 (10:44 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Wed, 6 Apr 2022 02:35:17 +0000 (10:35 +0800)
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/test/crimson/seastore/test_transaction_manager.cc

index ac70b08d35c141f172e4ee74a6a1cdc189ef850f..8df37acf73e2480bff3b1aac744c65a8c56a71ab 100644 (file)
@@ -401,10 +401,10 @@ struct transaction_manager_test_t :
   }
 
   void replay() {
-    logger().debug("{}: begin", __func__);
+    logger().info("{}: begin", __func__);
     EXPECT_TRUE(check_usage());
     restart();
-    logger().debug("{}: end", __func__);
+    logger().info("{}: end", __func__);
   }
 
   void check() {
@@ -932,9 +932,9 @@ TEST_F(transaction_manager_test_t, random_writes)
        submit_transaction(std::move(t));
       }
       replay();
-      logger().debug("random_writes: checking");
+      logger().info("random_writes: {} checking", i);
       check();
-      logger().debug("random_writes: done replaying/checking");
+      logger().info("random_writes: {} done replaying/checking", i);
     }
   });
 }
@@ -990,10 +990,10 @@ TEST_F(transaction_manager_test_t, random_writes_concurrent)
        });
       }).get0();
     replay();
-    logger().debug("random_writes: checking");
+    logger().info("random_writes_concurrent: checking");
     check();
-    logger().debug(
-      "random_writes: {} suceeded, {} failed",
+    logger().info(
+      "random_writes_concurrent: {} suceeded, {} failed",
       writes,
       failures
     );