aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/slice/percent_encode_fuzzer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'test/core/slice/percent_encode_fuzzer.cc')
-rw-r--r--test/core/slice/percent_encode_fuzzer.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/core/slice/percent_encode_fuzzer.cc b/test/core/slice/percent_encode_fuzzer.cc
index 201ae2790e..c8e3849fc8 100644
--- a/test/core/slice/percent_encode_fuzzer.cc
+++ b/test/core/slice/percent_encode_fuzzer.cc
@@ -20,7 +20,6 @@
#include <stdint.h>
#include <string.h>
-#include <grpc/grpc.h>
#include <grpc/support/alloc.h>
#include <grpc/support/log.h>
@@ -32,7 +31,6 @@ bool leak_check = true;
static void test(const uint8_t* data, size_t size, const uint8_t* dict) {
struct grpc_memory_counters counters;
- grpc_init();
grpc_memory_counters_init();
grpc_slice input = grpc_slice_from_copied_buffer((const char*)data, size);
grpc_slice output = grpc_percent_encode_slice(input, dict);
@@ -50,7 +48,6 @@ static void test(const uint8_t* data, size_t size, const uint8_t* dict) {
grpc_slice_unref(permissive_decoded_output);
counters = grpc_memory_counters_snapshot();
grpc_memory_counters_destroy();
- grpc_shutdown();
GPR_ASSERT(counters.total_size_relative == 0);
}