|
|
|
@ -146,8 +146,10 @@ static void request_for_disabled_algorithm( |
|
|
|
|
f = begin_test(config, test_name, client_args, server_args); |
|
|
|
|
cqv = cq_verifier_create(f.cq); |
|
|
|
|
|
|
|
|
|
c = grpc_channel_create_call(f.client, NULL, GRPC_PROPAGATE_DEFAULTS, f.cq, |
|
|
|
|
"/foo", get_host_override_string("foo.test.google.fr:1234", config), deadline, NULL); |
|
|
|
|
c = grpc_channel_create_call( |
|
|
|
|
f.client, NULL, GRPC_PROPAGATE_DEFAULTS, f.cq, "/foo", |
|
|
|
|
get_host_override_string("foo.test.google.fr:1234", config), deadline, |
|
|
|
|
NULL); |
|
|
|
|
GPR_ASSERT(c); |
|
|
|
|
|
|
|
|
|
grpc_metadata_array_init(&initial_metadata_recv); |
|
|
|
@ -242,7 +244,8 @@ static void request_for_disabled_algorithm( |
|
|
|
|
GPR_ASSERT(0 == strcmp(details, expected_details)); |
|
|
|
|
gpr_free(expected_details); |
|
|
|
|
GPR_ASSERT(0 == strcmp(call_details.method, "/foo")); |
|
|
|
|
validate_host_override_string("foo.test.google.fr:1234", call_details.host, config); |
|
|
|
|
validate_host_override_string("foo.test.google.fr:1234", call_details.host, |
|
|
|
|
config); |
|
|
|
|
|
|
|
|
|
gpr_free(details); |
|
|
|
|
grpc_metadata_array_destroy(&initial_metadata_recv); |
|
|
|
@ -318,8 +321,10 @@ static void request_with_payload_template( |
|
|
|
|
f = begin_test(config, test_name, client_args, server_args); |
|
|
|
|
cqv = cq_verifier_create(f.cq); |
|
|
|
|
|
|
|
|
|
c = grpc_channel_create_call(f.client, NULL, GRPC_PROPAGATE_DEFAULTS, f.cq, |
|
|
|
|
"/foo", get_host_override_string("foo.test.google.fr:1234", config), deadline, NULL); |
|
|
|
|
c = grpc_channel_create_call( |
|
|
|
|
f.client, NULL, GRPC_PROPAGATE_DEFAULTS, f.cq, "/foo", |
|
|
|
|
get_host_override_string("foo.test.google.fr:1234", config), deadline, |
|
|
|
|
NULL); |
|
|
|
|
GPR_ASSERT(c); |
|
|
|
|
|
|
|
|
|
grpc_metadata_array_init(&initial_metadata_recv); |
|
|
|
@ -491,7 +496,8 @@ static void request_with_payload_template( |
|
|
|
|
GPR_ASSERT(status == GRPC_STATUS_OK); |
|
|
|
|
GPR_ASSERT(0 == strcmp(details, "xyz")); |
|
|
|
|
GPR_ASSERT(0 == strcmp(call_details.method, "/foo")); |
|
|
|
|
validate_host_override_string("foo.test.google.fr:1234", call_details.host, config); |
|
|
|
|
validate_host_override_string("foo.test.google.fr:1234", call_details.host, |
|
|
|
|
config); |
|
|
|
|
GPR_ASSERT(was_cancelled == 0); |
|
|
|
|
|
|
|
|
|
gpr_free(details); |
|
|
|
|