aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/test/server_context_test_spouse_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/cpp/test/server_context_test_spouse_test.cc')
-rw-r--r--test/cpp/test/server_context_test_spouse_test.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/cpp/test/server_context_test_spouse_test.cc b/test/cpp/test/server_context_test_spouse_test.cc
index e0d6a2ff67..eb279e2401 100644
--- a/test/cpp/test/server_context_test_spouse_test.cc
+++ b/test/cpp/test/server_context_test_spouse_test.cc
@@ -36,11 +36,14 @@
#include <cstring>
#include <vector>
+#include <grpc++/impl/grpc_library.h>
#include <gtest/gtest.h>
namespace grpc {
namespace testing {
+static internal::GrpcLibraryInitializer g_initializer;
+
const char key1[] = "metadata-key1";
const char key2[] = "metadata-key2";
const char val1[] = "metadata-val1";