diff options
author | Eliot Horowitz <eliot@10gen.com> | 2014-11-10 13:31:43 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2014-11-10 13:31:43 -0500 |
commit | c686f5a1949339ba9390e6efc01ef8421867c692 (patch) | |
tree | 4e9f26419b65925321c470fc5ae9082401f6d47d /jstests/replsets/pipelineout.js | |
parent | a29dc744d4259897a37a8cf71f531c7cd045041e (diff) | |
download | mongo-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.js | 3 |
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()); |