From c671c9ad13f4a7812dc6d195e4a78a56b98ada0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20L=C3=B3pez=20Fern=C3=A1ndez?= Date: Tue, 8 Feb 2022 11:41:12 +0100 Subject: [PATCH] Change log threshold in blackbox tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Juan López Fernández --- test/blackbox/ddsrouter_core/dds/WAN/DDSTestWAN.cpp | 3 +-- test/blackbox/ddsrouter_core/dds/local/DDSTestLocal.cpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/test/blackbox/ddsrouter_core/dds/WAN/DDSTestWAN.cpp b/test/blackbox/ddsrouter_core/dds/WAN/DDSTestWAN.cpp index fc973932b..802e5ed48 100644 --- a/test/blackbox/ddsrouter_core/dds/WAN/DDSTestWAN.cpp +++ b/test/blackbox/ddsrouter_core/dds/WAN/DDSTestWAN.cpp @@ -41,9 +41,8 @@ void test_WAN_communication( std::string client_config_path) { // Check there are no warnings/errors - // TODO: Uncomment when having no listening addresses is no longer considered an error by the middleware // TODO: Change threshold to \c Log::Kind::Warning once middleware warnings are solved - // test::TestLogHandler test_log_handler(Log::Kind::Error); + test::TestLogHandler test_log_handler(Log::Kind::Error); uint32_t samples_sent = 0; std::atomic samples_received(0); diff --git a/test/blackbox/ddsrouter_core/dds/local/DDSTestLocal.cpp b/test/blackbox/ddsrouter_core/dds/local/DDSTestLocal.cpp index a9497d45e..9f09f3295 100644 --- a/test/blackbox/ddsrouter_core/dds/local/DDSTestLocal.cpp +++ b/test/blackbox/ddsrouter_core/dds/local/DDSTestLocal.cpp @@ -39,8 +39,7 @@ void test_local_communication( std::string config_path) { // Check there are no warnings/errors - // TODO: Change threshold to \c Log::Kind::Warning once middleware warnings are solved - test::TestLogHandler test_log_handler(Log::Kind::Error); + test::TestLogHandler test_log_handler(Log::Kind::Warning); uint32_t samples_sent = 0; std::atomic samples_received(0);