aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/end2end
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2015-07-07 17:47:31 -0700
committerGravatar yang-g <yangg@google.com>2015-07-07 17:47:31 -0700
commit85c04f938f242031cf819f626da21ac597ccd6a6 (patch)
treed351513c484ed6f2df9c7b880ae286f1badf0e99 /test/cpp/end2end
parente114a017203b1f42257154bf23e764b215176eff (diff)
resolve comments
Diffstat (limited to 'test/cpp/end2end')
-rw-r--r--test/cpp/end2end/end2end_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/end2end/end2end_test.cc b/test/cpp/end2end/end2end_test.cc
index d626fc0c94..60af84100a 100644
--- a/test/cpp/end2end/end2end_test.cc
+++ b/test/cpp/end2end/end2end_test.cc
@@ -85,7 +85,7 @@ void MaybeEchoDeadline(ServerContext* context, const EchoRequest* request,
template <typename T>
void CheckAuthContext(T* context) {
- std::unique_ptr<const AuthContext> auth_ctx = context->auth_context();
+ std::shared_ptr<const AuthContext> auth_ctx = context->auth_context();
std::vector<grpc::string> fake =
auth_ctx->FindPropertyValues("transport_security_type");
EXPECT_EQ(1, fake.size());