Fixed dup_filter test

This commit is contained in:
gabime 2019-06-28 00:47:10 +03:00
parent c75549f6db
commit 71162ebdbb
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ TEST_CASE("dup_filter_test2", "[dup_filter_sink]")
for (int i = 0; i < 10; i++)
{
dup_sink.log(spdlog::details::log_msg{"test", spdlog::level::info, "message1"});
std::this_thread::sleep_for(std::chrono::milliseconds(5));
}
REQUIRE(test_sink->msg_counter() == 10);