summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests
diff options
context:
space:
mode:
authorMatthew Russotto <matthew.russotto@10gen.com>2019-03-08 15:34:55 -0500
committerMatthew Russotto <matthew.russotto@10gen.com>2019-03-08 16:24:11 -0500
commitc0654eacb16ed1ff98d3d7bbf8a9a949a291a9d1 (patch)
treebcd54b36af0c5142b8a067e2be5b8cc6c27c2b0f /src/mongo/dbtests
parent527404878fb3ff5c4140c0ca9b1e7ee2847a945e (diff)
downloadmongo-c0654eacb16ed1ff98d3d7bbf8a9a949a291a9d1.tar.gz
SERVER-40047 Test for blocking queue should not test for non-guaranteed condition.
Diffstat (limited to 'src/mongo/dbtests')
-rw-r--r--src/mongo/dbtests/basictests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/basictests.cpp b/src/mongo/dbtests/basictests.cpp
index 0fabb2e2b06..6a07c011e69 100644
--- a/src/mongo/dbtests/basictests.cpp
+++ b/src/mongo/dbtests/basictests.cpp
@@ -330,7 +330,7 @@ public:
Timer t;
int x;
ASSERT(!q.blockingPop(x, 5));
- ASSERT(t.seconds() > 3 && t.seconds() < 9);
+ ASSERT(t.seconds() > 3);
}
};