Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions test/fuzz/fuzz_runner.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ void Runner::setupEnvironment(int argc, char** argv, spdlog::level::level_enum d
// state.
ProcessWide process_wide;
TestEnvironment::initializeOptions(argc, argv);
static auto* test_thread = new Envoy::Thread::TestThread;
UNREFERENCED_PARAMETER(test_thread);

const auto environment_log_level = TestEnvironment::getOptions().logLevel();
// We only override the default log level if it looks like we're debugging;
Expand Down
1 change: 0 additions & 1 deletion test/fuzz/main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ INSTANTIATE_TEST_SUITE_P(CorpusExamples, FuzzerCorpusTest, testing::ValuesIn(tes

int main(int argc, char** argv) {
Envoy::TestEnvironment::initializeTestMain(argv[0]);
Envoy::Thread::TestThread test_thread;

// Expected usage: <test path> <corpus paths..> [other gtest flags]
RELEASE_ASSERT(argc >= 2, "");
Expand Down