aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/end2end/tests/call_creds.c
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2016-03-28 16:57:23 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2016-03-28 16:57:23 -0700
commit3c05db5b0b4fd5fcd5f93ab7d0844ade41971fc2 (patch)
treef54c8bd51ae91ec08877270d8e0c2e972babf0c5 /test/core/end2end/tests/call_creds.c
parent67c0d04d052b43b8e29fd0de0abf883f61375fcd (diff)
parent9a0f14ba9959ac0cbf672282f8376b4e4e3b14dc (diff)
Merge branch 'master' of github.com:grpc/grpc into lb_policies_new_interface
Diffstat (limited to 'test/core/end2end/tests/call_creds.c')
-rw-r--r--test/core/end2end/tests/call_creds.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/core/end2end/tests/call_creds.c b/test/core/end2end/tests/call_creds.c
index c9d4251b68..f749a60979 100644
--- a/test/core/end2end/tests/call_creds.c
+++ b/test/core/end2end/tests/call_creds.c
@@ -1,6 +1,6 @@
/*
*
- * Copyright 2015, Google Inc.
+ * Copyright 2015-2016, Google Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -36,15 +36,15 @@
#include <stdio.h>
#include <string.h>
-#include <grpc/grpc_security.h>
#include <grpc/byte_buffer.h>
+#include <grpc/grpc_security.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
#include <grpc/support/time.h>
#include <grpc/support/useful.h>
+#include "src/core/lib/security/credentials.h"
+#include "src/core/lib/support/string.h"
#include "test/core/end2end/cq_verifier.h"
-#include "src/core/security/credentials.h"
-#include "src/core/support/string.h"
static const char iam_token[] = "token";
static const char iam_selector[] = "selector";
@@ -93,9 +93,9 @@ static void drain_cq(grpc_completion_queue *cq) {
static void shutdown_server(grpc_end2end_test_fixture *f) {
if (!f->server) return;
grpc_server_shutdown_and_notify(f->server, f->cq, tag(1000));
- GPR_ASSERT(grpc_completion_queue_pluck(f->cq, tag(1000),
- GRPC_TIMEOUT_SECONDS_TO_DEADLINE(5),
- NULL).type == GRPC_OP_COMPLETE);
+ GPR_ASSERT(grpc_completion_queue_pluck(
+ f->cq, tag(1000), GRPC_TIMEOUT_SECONDS_TO_DEADLINE(5), NULL)
+ .type == GRPC_OP_COMPLETE);
grpc_server_destroy(f->server);
f->server = NULL;
}