summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <tmpsantos@gmail.com>2019-11-27 03:00:39 +0200
committerThiago Marcos P. Santos <tmpsantos@gmail.com>2019-11-27 18:32:58 +0200
commit91d83accde5aa88894d9191441668e779e2b7692 (patch)
treee0d458d41c7556e6c60ea402bb09cdcc338debf2
parent2b6a0e48ee19913cde3b5737ee6a12fbf136cfe9 (diff)
downloadqtlocation-mapboxgl-91d83accde5aa88894d9191441668e779e2b7692.tar.gz
[tests] Increase test tolerance
This test has been flaky on mac.
-rw-r--r--test/storage/online_file_source.test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/storage/online_file_source.test.cpp b/test/storage/online_file_source.test.cpp
index 9d4b4fc190..3e697a99ea 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<const double>(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());