Add more logging to channel_soak interop test to indicate the boundary of an iteration

pull/20612/head
Qixuan Li 5 years ago
parent 784d065175
commit 6a89c0e57e
  1. 2
      test/cpp/interop/interop_client.cc

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

Loading…
Cancel
Save