diff options
author | Jonathan Abrahams <jonathan@mongodb.com> | 2018-09-28 10:36:01 -0400 |
---|---|---|
committer | Jonathan Abrahams <jonathan@mongodb.com> | 2018-09-28 11:03:52 -0400 |
commit | 6b7a01f1f8890210a0713c4755365483a1f0f2d9 (patch) | |
tree | 0d0c858986dd484800c25b2da1868cfb8a7eed87 /jstests/noPassthrough/pipeline_optimization_failpoint.js | |
parent | ee1430c1b614823ace91c704e5bec9488970212f (diff) | |
download | mongo-6b7a01f1f8890210a0713c4755365483a1f0f2d9.tar.gz |
SERVER-37369 Ensure the noPassthrough/pipeline_optimization_failpoint.js test has unique values in the pop field
Diffstat (limited to 'jstests/noPassthrough/pipeline_optimization_failpoint.js')
-rw-r--r-- | jstests/noPassthrough/pipeline_optimization_failpoint.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/noPassthrough/pipeline_optimization_failpoint.js b/jstests/noPassthrough/pipeline_optimization_failpoint.js index 46ac0d162bc..af3e294bf8e 100644 --- a/jstests/noPassthrough/pipeline_optimization_failpoint.js +++ b/jstests/noPassthrough/pipeline_optimization_failpoint.js @@ -17,6 +17,7 @@ do { pop = Random.randInt(100000); } while (pops.has(pop)); + pops.add(pop); assert.commandWorked(coll.insert({_id: i, city: "Cleveland", pop: pop, state: "OH"})); } |