From 91d83accde5aa88894d9191441668e779e2b7692 Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Wed, 27 Nov 2019 03:00:39 +0200 Subject: [PATCH] [tests] Increase test tolerance This test has been flaky on mac. --- test/storage/online_file_source.test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/storage/online_file_source.test.cpp b/test/storage/online_file_source.test.cpp index 9d4b4fc19..3e697a99e 100644 --- a/test/storage/online_file_source.test.cpp +++ b/test/storage/online_file_source.test.cpp @@ -98,7 +98,7 @@ TEST(OnlineFileSource, TEST_REQUIRES_SERVER(ConnectionError)) { static int wait = 0; const auto duration = std::chrono::duration(Clock::now() - start).count(); EXPECT_LT(wait - 0.01, duration) << "Backoff timer didn't wait 1 second"; - EXPECT_GT(wait + 0.2, duration) << "Backoff timer fired too late"; + EXPECT_GT(wait + 0.3, duration) << "Backoff timer fired too late"; ASSERT_NE(nullptr, res.error); EXPECT_EQ(Response::Error::Reason::Connection, res.error->reason); ASSERT_FALSE(res.data.get());