fix connectivity test failure

pull/13579/head
Sree Kuchibhotla 7 years ago
parent e37104cf42
commit 4ca35636fe
  1. 3
      test/core/end2end/fixtures/http_proxy_fixture.cc

@ -179,7 +179,8 @@ static void proxy_connection_failed(grpc_exec_ctx* exec_ctx,
GRPC_ERROR_REF(error)); GRPC_ERROR_REF(error));
conn->client_shutdown = true; conn->client_shutdown = true;
} }
if (shutdown_server && !conn->server_shutdown) { if (shutdown_server && !conn->server_shutdown &&
(conn->server_endpoint != nullptr)) {
grpc_endpoint_shutdown(exec_ctx, conn->server_endpoint, grpc_endpoint_shutdown(exec_ctx, conn->server_endpoint,
GRPC_ERROR_REF(error)); GRPC_ERROR_REF(error));
conn->server_shutdown = true; conn->server_shutdown = true;

Loading…
Cancel
Save