diff options
Diffstat (limited to 'jstests/slowNightly/sharding_multiple_ns_rs.js')
| -rw-r--r-- | jstests/slowNightly/sharding_multiple_ns_rs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/slowNightly/sharding_multiple_ns_rs.js b/jstests/slowNightly/sharding_multiple_ns_rs.js index 3cd7b3e4526..f16d4de1ead 100644 --- a/jstests/slowNightly/sharding_multiple_ns_rs.js +++ b/jstests/slowNightly/sharding_multiple_ns_rs.js @@ -29,7 +29,7 @@ s._rs[0].test.awaitReplication(); s._rs[0].test.stopMaster( 15 , true ) -sleep( 20 * 1000 ); +sleep( (20 + 10 + 5) * 1000 ); // Need to sleep ~20s for replica set failover in worst case, then ~10s for mongos to detect assert.eq( 5 , db.foo.findOne( { _id : 5 } ).x ); assert.eq( 5 , db.bar.findOne( { _id : 5 } ).x ); |
