aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-04-03 20:39:39 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-04-03 20:39:39 -0700
commit3337362c813812cc8680bec5cae5f0829ebb043a (patch)
tree04ef36defdf32efdd30bab812d51566c35e9f779 /test
parentdb1baa24cb90b4fd76c95fa2616014a45a27b148 (diff)
Stuff
Diffstat (limited to 'test')
-rw-r--r--test/core/end2end/fuzzers/server_fuzzer.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/core/end2end/fuzzers/server_fuzzer.c b/test/core/end2end/fuzzers/server_fuzzer.c
index 370d7425e0..e943429315 100644
--- a/test/core/end2end/fuzzers/server_fuzzer.c
+++ b/test/core/end2end/fuzzers/server_fuzzer.c
@@ -91,13 +91,16 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
switch (detag(ev.tag)) {
case 1:
requested_calls--;
- abort();
+ // TODO(ctiller): keep reading that call!
+ break;
}
}
}
done:
if (call1 != NULL) grpc_call_destroy(call1);
+ grpc_call_details_destroy(&call_details1);
+ grpc_metadata_array_destroy(&request_metadata1);
grpc_server_shutdown_and_notify(server, cq, tag(0xdead));
for (int i=0; i<=requested_calls; i++)
GPR_ASSERT(grpc_completion_queue_next(cq, gpr_inf_past(GPR_CLOCK_REALTIME), NULL).type == GRPC_OP_COMPLETE);