aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/tests/max_connection_idle.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/end2end/tests/max_connection_idle.c')
-rw-r--r--test/core/end2end/tests/max_connection_idle.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/test/core/end2end/tests/max_connection_idle.c b/test/core/end2end/tests/max_connection_idle.c
index f26b0be40e..8866a3dc0d 100644
--- a/test/core/end2end/tests/max_connection_idle.c
+++ b/test/core/end2end/tests/max_connection_idle.c
@@ -32,9 +32,9 @@
#define MAX_CONNECTION_IDLE_MS 500
#define MAX_CONNECTION_AGE_MS 9999
-static void *tag(intptr_t t) { return (void *)t; }
+static void* tag(intptr_t t) { return (void*)t; }
-static void drain_cq(grpc_completion_queue *cq) {
+static void drain_cq(grpc_completion_queue* cq) {
grpc_event ev;
do {
ev = grpc_completion_queue_next(cq, grpc_timeout_seconds_to_deadline(5),
@@ -43,12 +43,12 @@ static void drain_cq(grpc_completion_queue *cq) {
}
static void simple_request_body(grpc_end2end_test_config config,
- grpc_end2end_test_fixture *f) {
- grpc_call *c;
- grpc_call *s;
- cq_verifier *cqv = cq_verifier_create(f->cq);
+ grpc_end2end_test_fixture* f) {
+ grpc_call* c;
+ grpc_call* s;
+ cq_verifier* cqv = cq_verifier_create(f->cq);
grpc_op ops[6];
- grpc_op *op;
+ grpc_op* op;
grpc_metadata_array initial_metadata_recv;
grpc_metadata_array trailing_metadata_recv;
grpc_metadata_array request_metadata_recv;
@@ -57,7 +57,7 @@ static void simple_request_body(grpc_end2end_test_config config,
grpc_call_error error;
grpc_slice details;
int was_cancelled = 2;
- char *peer;
+ char* peer;
gpr_timespec deadline = grpc_timeout_seconds_to_deadline(5);
c = grpc_channel_create_call(
@@ -169,7 +169,7 @@ static void simple_request_body(grpc_end2end_test_config config,
static void test_max_connection_idle(grpc_end2end_test_config config) {
grpc_end2end_test_fixture f = config.create_fixture(NULL, NULL);
grpc_connectivity_state state = GRPC_CHANNEL_IDLE;
- cq_verifier *cqv = cq_verifier_create(f.cq);
+ cq_verifier* cqv = cq_verifier_create(f.cq);
grpc_arg client_a[] = {{.type = GRPC_ARG_INTEGER,
.key = "grpc.testing.fixed_reconnect_backoff_ms",