From bde8c03d3cc811c632c48bbed706f9d4c9702ad0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Ag=C3=BCero?= Date: Thu, 22 Aug 2024 19:48:52 +0200 Subject: [PATCH] Fix test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Carlos Agüero --- testing/src/AutoLogFixture_TEST.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testing/src/AutoLogFixture_TEST.cc b/testing/src/AutoLogFixture_TEST.cc index 1fc8cb49e..207bc5783 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()); }