summaryrefslogtreecommitdiff
path: root/jstests/replsets/pipelineout.js
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2014-11-10 13:31:43 -0500
committerEliot Horowitz <eliot@10gen.com>2014-11-10 13:31:43 -0500
commitc686f5a1949339ba9390e6efc01ef8421867c692 (patch)
tree4e9f26419b65925321c470fc5ae9082401f6d47d /jstests/replsets/pipelineout.js
parenta29dc744d4259897a37a8cf71f531c7cd045041e (diff)
downloadmongo-c686f5a1949339ba9390e6efc01ef8421867c692.tar.gz
SERVER-16026: on secnodaries w/doc locking, secondary unique indexes always have to be unchecked during batch
Diffstat (limited to 'jstests/replsets/pipelineout.js')
-rw-r--r--jstests/replsets/pipelineout.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/replsets/pipelineout.js b/jstests/replsets/pipelineout.js
index 037cf718bd3..a9ec98e5351 100644
--- a/jstests/replsets/pipelineout.js
+++ b/jstests/replsets/pipelineout.js
@@ -32,4 +32,5 @@ assert.throws(function() {
// run one and check for proper replication
primary.in.aggregate({$out: "out"}).itcount;
replTest.awaitReplication();
-assert.eq(primary.out.find().toArray(), secondary.out.find().toArray());
+assert.eq(primary.out.find().sort( { x : 1 } ).toArray(),
+ secondary.out.find().sort( { x : 1 } ).toArray());