summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto Lerner <alerner@10gen.com>2010-07-16 11:46:03 -0400
committerAlberto Lerner <alerner@10gen.com>2010-07-16 11:46:03 -0400
commit86c01b838c12b4ca7f794b0df2a57e3a00315838 (patch)
tree6d0b05270f8b4ba58e8cc306efa784e01604f497
parent44e3741116d118fc9fc5c82b10aacc07fb713c76 (diff)
downloadmongo-86c01b838c12b4ca7f794b0df2a57e3a00315838.tar.gz
Adjust constant now that we're sharding after populating
-rw-r--r--jstests/slowNightly/sharding_balance1.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/slowNightly/sharding_balance1.js b/jstests/slowNightly/sharding_balance1.js
index bb27253e6dc..d56c2a31c01 100644
--- a/jstests/slowNightly/sharding_balance1.js
+++ b/jstests/slowNightly/sharding_balance1.js
@@ -15,7 +15,7 @@ while ( bigString.length < 10000 )
inserted = 0;
num = 0;
-while ( inserted < ( 40 * 1024 * 1024 ) ){
+while ( inserted < ( 20 * 1024 * 1024 ) ){
db.foo.insert( { _id : num++ , s : bigString } );
inserted += bigString.length;
}
@@ -35,7 +35,7 @@ function sum(){
return x.shard0 + x.shard1;
}
-assert.lt( 10 , diff() , "big differential here" );
+assert.lt( 20 , diff() , "big differential here" );
print( diff() )
assert.soon( function(){