aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/multiple_server_queues_test.c
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2015-08-14 09:58:54 -0700
committerGravatar Jan Tattermusch <jtattermusch@google.com>2015-08-14 09:58:54 -0700
commitd8fc8606740416b1cbe4d2f3754705b108fd2c5c (patch)
tree594a4bd709532261bfbe66b93faea4cc0d4421c7 /test/core/end2end/multiple_server_queues_test.c
parent46e85b02cda4ad4d549e444b78d1e74a3021a9d9 (diff)
parent8d1c96f8bbfd6e78ce6264985d91f443d7619c2d (diff)
Merge remote-tracking branch 'upstream/master' into csharp_upgrade_to_proto3
Diffstat (limited to 'test/core/end2end/multiple_server_queues_test.c')
-rw-r--r--test/core/end2end/multiple_server_queues_test.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/core/end2end/multiple_server_queues_test.c b/test/core/end2end/multiple_server_queues_test.c
index 7772d14ba5..2befcd0124 100644
--- a/test/core/end2end/multiple_server_queues_test.c
+++ b/test/core/end2end/multiple_server_queues_test.c
@@ -41,20 +41,20 @@ int main(int argc, char **argv) {
grpc_test_init(argc, argv);
grpc_init();
- cq1 = grpc_completion_queue_create();
- cq2 = grpc_completion_queue_create();
- server = grpc_server_create(NULL);
- grpc_server_register_completion_queue(server, cq1);
+ cq1 = grpc_completion_queue_create(NULL);
+ cq2 = grpc_completion_queue_create(NULL);
+ server = grpc_server_create(NULL, NULL);
+ grpc_server_register_completion_queue(server, cq1, NULL);
grpc_server_add_insecure_http2_port(server, "[::]:0");
- grpc_server_register_completion_queue(server, cq2);
+ grpc_server_register_completion_queue(server, cq2, NULL);
grpc_server_start(server);
grpc_server_shutdown_and_notify(server, cq2, NULL);
grpc_completion_queue_next(
- cq2, gpr_inf_future(GPR_CLOCK_REALTIME)); /* cue queue hang */
+ cq2, gpr_inf_future(GPR_CLOCK_REALTIME), NULL); /* cue queue hang */
grpc_completion_queue_shutdown(cq1);
grpc_completion_queue_shutdown(cq2);
- grpc_completion_queue_next(cq1, gpr_inf_future(GPR_CLOCK_REALTIME));
- grpc_completion_queue_next(cq2, gpr_inf_future(GPR_CLOCK_REALTIME));
+ grpc_completion_queue_next(cq1, gpr_inf_future(GPR_CLOCK_REALTIME), NULL);
+ grpc_completion_queue_next(cq2, gpr_inf_future(GPR_CLOCK_REALTIME), NULL);
grpc_server_destroy(server);
grpc_completion_queue_destroy(cq1);
grpc_completion_queue_destroy(cq2);