diff options
author | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2014-12-04 16:15:49 -0500 |
---|---|---|
committer | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2015-01-15 21:18:12 -0500 |
commit | e367a48c7ff9eca187712fcfba1322c37af69780 (patch) | |
tree | eed275be34008f9d665c664afb4d65ddb63f6b42 | |
parent | 66f65bbd4db75bd88ff20df5991b1698cfcd10bf (diff) | |
download | mongo-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.js | 2 |
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 ); |