Skip to content

Commit 854ea7e

Browse files
authored
Fix a test failure when the default log level is too low (#7943)
This test was relying on the default log level being high enough that the expected messages would actually be logged.
1 parent b10122e commit 854ea7e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/object-store/sync/app.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3305,6 +3305,7 @@ TEST_CASE("app: sync logs contain baas coid", "[sync][app][baas]") {
33053305
};
33063306

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

0 commit comments

Comments
 (0)