fixed bad_ping test after merge

reviewable/pr14615/r18
David Garcia Quintas 7 years ago
parent 811169d62f
commit 27d48dad5e
  1. 10
      test/core/end2end/tests/bad_ping.cc

@ -267,11 +267,9 @@ static void test_pings_without_data(grpc_end2end_test_config config) {
grpc_slice details;
int was_cancelled = 2;
c = grpc_channel_create_call(
f.client, nullptr, GRPC_PROPAGATE_DEFAULTS, f.cq,
grpc_slice_from_static_string("/foo"),
get_host_override_slice("foo.test.google.fr:1234", config), deadline,
nullptr);
c = grpc_channel_create_call(f.client, nullptr, GRPC_PROPAGATE_DEFAULTS, f.cq,
grpc_slice_from_static_string("/foo"), nullptr,
deadline, nullptr);
GPR_ASSERT(c);
grpc_metadata_array_init(&initial_metadata_recv);
@ -364,8 +362,6 @@ static void test_pings_without_data(grpc_end2end_test_config config) {
// The rpc should be successful.
GPR_ASSERT(status == GRPC_STATUS_UNIMPLEMENTED);
GPR_ASSERT(0 == grpc_slice_str_cmp(call_details.method, "/foo"));
validate_host_override_string("foo.test.google.fr:1234", call_details.host,
config);
grpc_slice_unref(details);
grpc_metadata_array_destroy(&initial_metadata_recv);

Loading…
Cancel
Save