Skip to content

Commit

Permalink
Fix a test failure when the default log level is too low
Browse files Browse the repository at this point in the history
This test was relying on the default log level being high enough that the
expected messages would actually be logged.
  • Loading branch information
tgoyne committed Aug 1, 2024
1 parent f35c76e commit 1139ba9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/object-store/sync/app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3305,6 +3305,7 @@ TEST_CASE("app: sync logs contain baas coid", "[sync][app][baas]") {
};

auto in_mem_logger = std::make_shared<InMemoryLogger>();
in_mem_logger->set_level_threshold(InMemoryLogger::Level::all);
TestAppSession app_session(get_runtime_app_session(), nullptr, DeleteApp{false}, ReconnectMode::normal, nullptr,
in_mem_logger);

Expand Down

0 comments on commit 1139ba9

Please sign in to comment.