localhost or 127.0.0.1

reviewable/pr14615/r19
David Garcia Quintas 7 years ago
parent 27d48dad5e
commit 8a6453d31b
  1. 3
      test/core/end2end/tests/default_host.cc

@ -198,7 +198,8 @@ static void test_invoke_simple_request(grpc_end2end_test_config config) {
validate_host_override_string(config.overridden_call_host,
call_details.host, config);
} else {
GPR_ASSERT(grpc_slice_buf_start_eq(call_details.host, "localhost", 9));
GPR_ASSERT(grpc_slice_buf_start_eq(call_details.host, "localhost", 9) ||
grpc_slice_buf_start_eq(call_details.host, "127.0.0.1", 9));
}
GPR_ASSERT(was_cancelled == 1);

Loading…
Cancel
Save