From d8eb0558e918a01aa1ae1d96cdc7c5ec2b24c03c Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 2 Dec 2018 17:13:50 +0200 Subject: [PATCH] Fix test for mingw --- tests/test_misc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_misc.cpp b/tests/test_misc.cpp index 9e097a45..342b3dac 100644 --- a/tests/test_misc.cpp +++ b/tests/test_misc.cpp @@ -86,7 +86,7 @@ TEST_CASE("periodic flush", "[periodic_flush]") auto test_sink = std::static_pointer_cast(logger->sinks()[0]); spdlog::flush_every(std::chrono::seconds(1)); - std::this_thread::sleep_for(std::chrono::milliseconds(1100)); + std::this_thread::sleep_for(std::chrono::milliseconds(1500)); REQUIRE(test_sink->flush_counter() == 1); spdlog::flush_every(std::chrono::seconds(0)); spdlog::drop_all();