Remove redundant error check

pull/6449/head
Sree Kuchibhotla 9 years ago
parent 5130427b30
commit c5549fcd0a
  1. 7
      test/cpp/interop/interop_client.cc

@ -746,14 +746,9 @@ bool InteropClient::DoTimeoutOnSleepingServer() {
StreamingOutputCallRequest request;
request.mutable_payload()->set_body(grpc::string(27182, '\0'));
if (!stream->Write(request)) {
gpr_log(GPR_ERROR, "DoTimeoutOnSleepingServer(): stream->Write() failed");
return TransientFailureOrAbort();
}
stream->Write(request);
Status s = stream->Finish();
if (!AssertStatusCode(s, StatusCode::DEADLINE_EXCEEDED)) {
return false;
}

Loading…
Cancel
Save