Update test_stopwatch.cpp

This commit is contained in:
Gabi Melman 2023-02-26 02:31:12 +02:00 committed by GitHub
parent 262acfdeb5
commit 839ea957ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,7 +6,7 @@ TEST_CASE("stopwatch1", "[stopwatch]")
{
using std::chrono::milliseconds;
using clock = std::chrono::steady_clock;
milliseconds wait_ms(250);
milliseconds wait_ms(200);
milliseconds tolerance_ms(250);
auto start = clock::now();
spdlog::stopwatch sw;
@ -24,7 +24,7 @@ TEST_CASE("stopwatch2", "[stopwatch]")
using std::chrono::milliseconds;
using clock = std::chrono::steady_clock;
clock::duration wait_duration(milliseconds(250));
clock::duration wait_duration(milliseconds(200));
clock::duration tolerance_duration(milliseconds(250));
auto test_sink = std::make_shared<test_sink_st>();