summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-04-11 16:31:56 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-04-11 16:31:56 -0700
commit1209ae4213b0ebdb59881b62213a3ba1d1895f1e (patch)
tree26f575ddb98a1abf95bb99d1e3e523d7b5715a07 /test
parent6cbf0e4207ebbef5c6f93c2ff87d5b8108f60fb0 (diff)
downloadqtlocation-mapboxgl-1209ae4213b0ebdb59881b62213a3ba1d1895f1e.tar.gz
[test] This "very unlikely" condition in fact happens regularly in CI (#4679)
Diffstat (limited to 'test')
-rw-r--r--test/util/async_task.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/util/async_task.cpp b/test/util/async_task.cpp
index 4a80b5f3d9..9d36230472 100644
--- a/test/util/async_task.cpp
+++ b/test/util/async_task.cpp
@@ -122,5 +122,5 @@ TEST(AsyncTask, ThreadSafety) {
// We expect here more than 1 but 1 would also be
// a valid result, although very unlikely (I hope).
- EXPECT_GT(count, 1);
+ EXPECT_GT(count, 0);
}