|
|
|
@ -113,8 +113,8 @@ static void simple_request_body(grpc_end2end_test_fixture f) { |
|
|
|
|
size_t details_capacity = 0; |
|
|
|
|
int was_cancelled = 2; |
|
|
|
|
|
|
|
|
|
c = grpc_channel_create_call(f.client, f.cq, "/foo", |
|
|
|
|
"foo.test.google.fr:1234", deadline); |
|
|
|
|
c = grpc_channel_create_call(f.client, NULL, GRPC_INHERIT_DEFAULTS, f.cq, |
|
|
|
|
"/foo", "foo.test.google.fr:1234", deadline); |
|
|
|
|
GPR_ASSERT(c); |
|
|
|
|
|
|
|
|
|
grpc_metadata_array_init(&initial_metadata_recv); |
|
|
|
@ -244,11 +244,11 @@ static void test_max_concurrent_streams(grpc_end2end_test_config config) { |
|
|
|
|
/* start two requests - ensuring that the second is not accepted until
|
|
|
|
|
the first completes */ |
|
|
|
|
deadline = n_seconds_time(1000); |
|
|
|
|
c1 = grpc_channel_create_call(f.client, f.cq, "/alpha", |
|
|
|
|
"foo.test.google.fr:1234", deadline); |
|
|
|
|
c1 = grpc_channel_create_call(f.client, NULL, GRPC_INHERIT_DEFAULTS, f.cq, |
|
|
|
|
"/alpha", "foo.test.google.fr:1234", deadline); |
|
|
|
|
GPR_ASSERT(c1); |
|
|
|
|
c2 = grpc_channel_create_call(f.client, f.cq, "/beta", |
|
|
|
|
"foo.test.google.fr:1234", deadline); |
|
|
|
|
c2 = grpc_channel_create_call(f.client, NULL, GRPC_INHERIT_DEFAULTS, f.cq, |
|
|
|
|
"/beta", "foo.test.google.fr:1234", deadline); |
|
|
|
|
GPR_ASSERT(c2); |
|
|
|
|
|
|
|
|
|
GPR_ASSERT(GRPC_CALL_OK == grpc_server_request_call( |
|
|
|
|