diff options
author | Tad Marshall <tad@10gen.com> | 2013-05-08 10:40:03 -0400 |
---|---|---|
committer | Tad Marshall <tad@10gen.com> | 2013-05-08 17:24:45 -0400 |
commit | 1a4afe2906e385f0f4772a7f36ecb7fe5170cb1f (patch) | |
tree | 99a98e8002bd74a29047a8c1b028a6702c43f88d /jstests/sharding/mrShardedOutput.js | |
parent | 9e06e7a9a31a1be892e2b891da86ff02e875c6b2 (diff) | |
download | mongo-1a4afe2906e385f0f4772a7f36ecb7fe5170cb1f.tar.gz |
SERVER-9619 Pass correct arguments to assert.soon
Add an error message to the function call so that the timeout appears
at the correct location in the argument list.
Diffstat (limited to 'jstests/sharding/mrShardedOutput.js')
-rw-r--r-- | jstests/sharding/mrShardedOutput.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/mrShardedOutput.js b/jstests/sharding/mrShardedOutput.js index 7688d488917..40d256bbadb 100644 --- a/jstests/sharding/mrShardedOutput.js +++ b/jstests/sharding/mrShardedOutput.js @@ -111,7 +111,7 @@ for (var iter = 0; iter < numIterations; ++iter) { assert.soon(function(){ return hasChunkOnShard("test.foo", shards[0]._id) && hasChunkOnShard("test.foo", shards[1]._id); - }, 2 * 60 * 1000); + }, 'Test FAILURE: No migration performed in two minutes', 2 * 60 * 1000); // Now we can proceed, since we have a collection on both shards. |