diff --git a/testing/src/AutoLogFixture_TEST.cc b/testing/src/AutoLogFixture_TEST.cc index 1fc8cb49..207bc578 100644 --- a/testing/src/AutoLogFixture_TEST.cc +++ b/testing/src/AutoLogFixture_TEST.cc @@ -28,7 +28,8 @@ TEST_F(AutoLogFixture, AutoLogFixture) EXPECT_FALSE(this->FullLogPath().empty()); EXPECT_TRUE(this->LogContent().empty()); - Console::SetVerbosity(0); + Console::SetVerbosity(4); gzdbg << "This is a debug" << std::endl; + gz::common::Console::Root().RawLogger().flush(); EXPECT_FALSE(this->LogContent().empty()); }