diff --git a/test/logging/LoggingTest.cpp b/test/logging/LoggingTest.cpp index 73f22420..6e26280e 100644 --- a/test/logging/LoggingTest.cpp +++ b/test/logging/LoggingTest.cpp @@ -68,11 +68,9 @@ void logAndExit(const string &message) { exit(1); } -using LoggingTest_DeathTest = LoggingTest; - // fork() only forks the main thread. This test ensures that logging doesn't depend on threads that suddenly aren't // there anymore after a fork(). -TEST_F(LoggingTest_DeathTest, LoggingAlsoWorksAfterFork) { +TEST_F(LoggingTest, LoggingAlsoWorksAfterFork) { setLogger(spdlog::stderr_logger_mt("StderrLogger")); EXPECT_EXIT( logAndExit("My log message"),