aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/transport/chttp2/bin_encoder_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/transport/chttp2/bin_encoder_test.cc')
-rw-r--r--test/core/transport/chttp2/bin_encoder_test.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/core/transport/chttp2/bin_encoder_test.cc b/test/core/transport/chttp2/bin_encoder_test.cc
index 78b8808c41..44f5de8a50 100644
--- a/test/core/transport/chttp2/bin_encoder_test.cc
+++ b/test/core/transport/chttp2/bin_encoder_test.cc
@@ -99,6 +99,8 @@ static void expect_binary_header(const char* hdr, int binary) {
}
int main(int argc, char** argv) {
+ grpc_init();
+
/* Base64 test vectors from RFC 4648, with padding removed */
/* BASE64("") = "" */
EXPECT_SLICE_EQ("", B64(""));
@@ -169,5 +171,6 @@ int main(int argc, char** argv) {
expect_binary_header("foo-bar", 0);
expect_binary_header("-bin", 0);
+ grpc_shutdown();
return all_ok ? 0 : 1;
}