Remove extraneous logging statements

pull/17220/head
Yash Tibrewal 6 years ago
parent d4ebd30eb2
commit 00c9c40004
  1. 1
      include/grpcpp/impl/codegen/call_op_set.h
  2. 1
      include/grpcpp/impl/codegen/interceptor_common.h
  3. 2
      test/cpp/end2end/client_interceptors_end2end_test.cc

@ -323,7 +323,6 @@ class CallOpSendMessage {
*status = false;
} else if (!*status) {
// This Op was passed down to core and the Op failed
gpr_log(GPR_ERROR, "failure status");
failed_send_ = true;
}
}

@ -115,7 +115,6 @@ class InterceptorBatchMethodsImpl
void FailHijackedSendMessage() override {
GPR_CODEGEN_ASSERT(hooks_[static_cast<size_t>(
experimental::InterceptionHookPoints::PRE_SEND_MESSAGE)]);
gpr_log(GPR_ERROR, "failing");
*fail_send_message_ = true;
}

@ -290,9 +290,7 @@ class ClientStreamingRpcHijackingInterceptor
if (methods->QueryInterceptionHookPoint(
experimental::InterceptionHookPoints::POST_SEND_MESSAGE)) {
EXPECT_FALSE(got_failed_send_);
gpr_log(GPR_ERROR, "%d", got_failed_send_);
got_failed_send_ = !methods->GetSendMessageStatus();
gpr_log(GPR_ERROR, "%d", got_failed_send_);
}
if (methods->QueryInterceptionHookPoint(
experimental::InterceptionHookPoints::PRE_RECV_STATUS)) {

Loading…
Cancel
Save