summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiyuan Zhou <siyuan.zhou@mongodb.com>2014-12-04 16:15:49 -0500
committerSiyuan Zhou <siyuan.zhou@mongodb.com>2015-01-15 21:18:12 -0500
commite367a48c7ff9eca187712fcfba1322c37af69780 (patch)
treeeed275be34008f9d665c664afb4d65ddb63f6b42
parent66f65bbd4db75bd88ff20df5991b1698cfcd10bf (diff)
downloadmongo-e367a48c7ff9eca187712fcfba1322c37af69780.tar.gz
SERVER-16421 sharding_rs2.js should clean up data on all replicas
(cherry picked from commit ceae537f11dd33b5cdf0ae1fbda618d8d8272795)
-rw-r--r--jstests/noPassthroughWithMongod/sharding_rs2.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthroughWithMongod/sharding_rs2.js b/jstests/noPassthroughWithMongod/sharding_rs2.js
index b577bf82ba9..19060c69893 100644
--- a/jstests/noPassthroughWithMongod/sharding_rs2.js
+++ b/jstests/noPassthroughWithMongod/sharding_rs2.js
@@ -193,7 +193,7 @@ rs.test.getSecondaries().forEach(function(secondary) {
secondary.getDB( "test" ).fsyncUnlock();
})
// Clean up the data
-assert.writeOK( ts.remove( { primaryOnly: true, x: 60 }, { writeConcern: { w: 2 }} ) );
+assert.writeOK( ts.remove( { primaryOnly: true, x: 60 }, { writeConcern: { w: 3 }} ) );
for ( i=0; i<10; i++ ) {
m = new Mongo( s.s.name );