More controllable squelching

pull/6071/head
Craig Tiller 9 years ago
parent 3693078650
commit 7a6f60e564
  1. 4
      test/core/end2end/fuzzers/server_fuzzer.c

@ -37,6 +37,8 @@
#include "src/core/lib/surface/server.h"
#include "test/core/util/mock_endpoint.h"
static const bool squelch = true;
static void discard_write(gpr_slice slice) {}
static void *tag(int n) { return (void *)(uintptr_t)n; }
@ -46,7 +48,7 @@ static void dont_log(gpr_log_func_args *args) {}
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
grpc_test_only_set_metadata_hash_seed(0);
gpr_set_log_function(dont_log);
if (squelch) gpr_set_log_function(dont_log);
grpc_init();
grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT;

Loading…
Cancel
Save