Skip to content

Commit

Permalink
Change log threshold in blackbox tests
Browse files Browse the repository at this point in the history
Signed-off-by: Juan López Fernández <[email protected]>
  • Loading branch information
juanlofer-eprosima committed Feb 8, 2022
1 parent f9ffa97 commit c671c9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions test/blackbox/ddsrouter_core/dds/WAN/DDSTestWAN.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<uint32_t> samples_received(0);
Expand Down
3 changes: 1 addition & 2 deletions test/blackbox/ddsrouter_core/dds/local/DDSTestLocal.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<uint32_t> samples_received(0);
Expand Down

0 comments on commit c671c9a

Please sign in to comment.