summaryrefslogtreecommitdiff
path: root/jstests/core
diff options
context:
space:
mode:
authorCharlie Swanson <charlie.swanson@mongodb.com>2019-05-31 15:59:36 -0400
committerCharlie Swanson <charlie.swanson@mongodb.com>2019-06-03 10:30:55 -0400
commit3542405aa31989401731f50ae76b3cec5ad1db47 (patch)
treec33d470eb85c854a92d045246c1aed861fbf4faa /jstests/core
parent7f771d7071637e0062d1a4fedd2ed49f6f30d961 (diff)
downloadmongo-3542405aa31989401731f50ae76b3cec5ad1db47.tar.gz
SERVER-41438 Relax assertion in benchrun_pipeline_updates.js
Diffstat (limited to 'jstests/core')
-rw-r--r--jstests/core/benchrun_pipeline_updates.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/benchrun_pipeline_updates.js b/jstests/core/benchrun_pipeline_updates.js
index a9b684c4d96..06647c83f06 100644
--- a/jstests/core/benchrun_pipeline_updates.js
+++ b/jstests/core/benchrun_pipeline_updates.js
@@ -32,7 +32,7 @@
}
let res = benchRun(benchArgs);
assert.eq(res.errCount, 0);
- assert.gt(
+ assert.gte(
coll.findOne({_id: 0}).x, 2, "Expected at least one update to succeed and increment 'x'");
// Now test that the pipeline is still subject to benchRun's keyword replacement.