浏览代码

Merge pull request #20612 from qixuanl1/add-more-logging

Add more logging to channel_soak interop test to indicate the boundar…
Qixuan Li 6 年之前
父节点
当前提交
dcff8b78ec
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      test/cpp/interop/interop_client.cc

+ 2 - 0
test/cpp/interop/interop_client.cc

@@ -1088,10 +1088,12 @@ bool InteropClient::DoChannelSoakTest(int32_t soak_iterations) {
   SimpleResponse response;
   for (int i = 0; i < soak_iterations; ++i) {
     serviceStub_.ResetChannel();
+    gpr_log(GPR_DEBUG, "Starting channel_soak iteration %d...", i);
     if (!PerformLargeUnary(&request, &response)) {
       gpr_log(GPR_ERROR, "channel_soak test failed on iteration %d", i);
       return false;
     }
+    gpr_log(GPR_DEBUG, "channel_soak iteration %d finished", i);
   }
   gpr_log(GPR_DEBUG, "channel_soak test done.");
   return true;