diff options
author | Vijay Pai <vpai@google.com> | 2015-06-18 08:42:29 -0700 |
---|---|---|
committer | Vijay Pai <vpai@google.com> | 2015-06-18 08:42:29 -0700 |
commit | d03adc340ae04df7ba6635192fdd3bfa9a3c607f (patch) | |
tree | d13cd0303fcb3b9b453e40d57412d7751410dfc3 /test/core/end2end/dualstack_socket_test.c | |
parent | d2a82d9da7dbe2759d7bdd400cc835229e904c07 (diff) | |
parent | 6174b9a4d092c145d6cd3c90ab59bf5a0939329e (diff) |
Merge remote-tracking branch 'ctiller-repo/we-dont-need-no-backup' into poller2
Diffstat (limited to 'test/core/end2end/dualstack_socket_test.c')
-rw-r--r-- | test/core/end2end/dualstack_socket_test.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/core/end2end/dualstack_socket_test.c b/test/core/end2end/dualstack_socket_test.c index 1e7e21c739..7d3568c22e 100644 --- a/test/core/end2end/dualstack_socket_test.c +++ b/test/core/end2end/dualstack_socket_test.c @@ -151,10 +151,9 @@ void test_connect(const char *server_host, const char *client_host, int port, if (expect_ok) { /* Check for a successful request. */ - GPR_ASSERT(GRPC_CALL_OK == - grpc_server_request_call(server, &s, &call_details, - &request_metadata_recv, cq, - cq, tag(101))); + GPR_ASSERT(GRPC_CALL_OK == grpc_server_request_call( + server, &s, &call_details, + &request_metadata_recv, cq, cq, tag(101))); cq_expect_completion(cqv, tag(101), 1); cq_verify(cqv); @@ -204,7 +203,9 @@ void test_connect(const char *server_host, const char *client_host, int port, /* Destroy server. */ grpc_server_shutdown_and_notify(server, cq, tag(1000)); - GPR_ASSERT(grpc_completion_queue_pluck(cq, tag(1000), GRPC_TIMEOUT_SECONDS_TO_DEADLINE(5)).type == GRPC_OP_COMPLETE); + GPR_ASSERT(grpc_completion_queue_pluck(cq, tag(1000), + GRPC_TIMEOUT_SECONDS_TO_DEADLINE(5)) + .type == GRPC_OP_COMPLETE); grpc_server_destroy(server); grpc_completion_queue_shutdown(cq); drain_cq(cq); |