aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/tests/CronetUnitTests
diff options
context:
space:
mode:
authorGravatar jiangtaoli2016 <jiangtao@google.com>2017-04-15 10:20:51 -0700
committerGravatar jiangtaoli2016 <jiangtao@google.com>2017-04-15 10:20:51 -0700
commite223a6a042b3123a2aee25ec0d3fe42ffd0c43e2 (patch)
tree041120a077b83bae9f461f8e62dac5b531babaa1 /src/objective-c/tests/CronetUnitTests
parentc953b62d396d6168507520d837550f6b12d7e729 (diff)
parent644e05e79ba04fb0f424cbb8dffce6c3cd3913ec (diff)
Merge branch 'master' into new_tsi
Diffstat (limited to 'src/objective-c/tests/CronetUnitTests')
-rw-r--r--src/objective-c/tests/CronetUnitTests/CronetUnitTests.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/objective-c/tests/CronetUnitTests/CronetUnitTests.m b/src/objective-c/tests/CronetUnitTests/CronetUnitTests.m
index a76e45416b..6d94116c75 100644
--- a/src/objective-c/tests/CronetUnitTests/CronetUnitTests.m
+++ b/src/objective-c/tests/CronetUnitTests/CronetUnitTests.m
@@ -160,7 +160,7 @@ unsigned int parse_h2_length(const char *field) {
int port = grpc_pick_unused_port_or_die();
char *addr;
gpr_join_host_port(&addr, "127.0.0.1", port);
- grpc_completion_queue *cq = grpc_completion_queue_create(NULL);
+ grpc_completion_queue *cq = grpc_completion_queue_create_for_next(NULL);
stream_engine *cronetEngine = [Cronet getGlobalEngine];
grpc_channel *client =
grpc_cronet_secure_channel_create(cronetEngine, addr, NULL, NULL);
@@ -295,7 +295,7 @@ unsigned int parse_h2_length(const char *field) {
int port = grpc_pick_unused_port_or_die();
char *addr;
gpr_join_host_port(&addr, "127.0.0.1", port);
- grpc_completion_queue *cq = grpc_completion_queue_create(NULL);
+ grpc_completion_queue *cq = grpc_completion_queue_create_for_next(NULL);
stream_engine *cronetEngine = [Cronet getGlobalEngine];
grpc_channel *client =
grpc_cronet_secure_channel_create(cronetEngine, addr, args, NULL);