[api_fuzzer] Attempt to clean up fuzzer memory leak (#33120)

<!--

If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the
appropriate
lang label.

-->
pull/33127/head
Craig Tiller 2 years ago committed by GitHub
parent 59dbdfeea2
commit 997af8d073
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      test/core/end2end/fuzzers/api_fuzzer.cc
  2. 13
      test/core/end2end/fuzzers/api_fuzzer_corpus/clusterfuzz-testcase-minimized-api_fuzzer-4996188645228544
  3. 27
      test/core/end2end/fuzzers/api_fuzzer_corpus/clusterfuzz-testcase-minimized-api_fuzzer-5393262423965696.test
  4. 35
      test/core/end2end/fuzzers/api_fuzzer_corpus/clusterfuzz-testcase-minimized-api_fuzzer-6302875683520512

@ -847,6 +847,8 @@ ApiFuzzer::~ApiFuzzer() {
GPR_ASSERT(ActiveCall() == nullptr);
GPR_ASSERT(calls_.empty());
engine_->TickUntilIdle();
grpc_completion_queue_shutdown(cq_);
GPR_ASSERT(PollCq() == Result::kComplete);
grpc_completion_queue_destroy(cq_);

@ -0,0 +1,13 @@
actions {
create_channel {
target: "1"
channel_actions {
}
}
}
actions {
check_connectivity: true
}
actions {
disable_tracer: "1"
}

@ -0,0 +1,27 @@
actions {
create_channel {
target: "unix::p<,0,,, 140J"
channel_actions {
}
}
}
actions {
check_connectivity: true
}
actions {
enable_tracer: "V)"
}
actions {
poll_cq {
}
}
actions {
close_channel {
}
}
event_engine_actions {
tick_lengths {
id: 4
delay_us: 409823569256
}
}
Loading…
Cancel
Save