summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Studer <greg@10gen.com>2012-12-27 13:58:50 -0500
committerGreg Studer <greg@10gen.com>2012-12-27 15:06:45 -0500
commitcdc2db7f6b3da66ff7743a06f7852d1343057719 (patch)
tree2e85d0254d9e558ff4dc59def007ae1ba6e7f517
parentc31da72e8ad5a9a40a03c5286637f58aa658e233 (diff)
downloadmongo-cdc2db7f6b3da66ff7743a06f7852d1343057719.tar.gz
SERVER-8000 minor other cleanup sharding_balance4.js
-rw-r--r--jstests/slowNightly/sharding_balance4.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/jstests/slowNightly/sharding_balance4.js b/jstests/slowNightly/sharding_balance4.js
index 08e439e20c5..f1c27afa0bb 100644
--- a/jstests/slowNightly/sharding_balance4.js
+++ b/jstests/slowNightly/sharding_balance4.js
@@ -28,7 +28,7 @@ counts = {}
//
// The core behavior of this test is to add a bunch of documents to a sharded collection, then
// incrementally update each document and make sure the counts in the document match our update
-// counts while balancing occurs (doUpdate()). Every once and awhile we also check (check())
+// counts while balancing occurs (doUpdate()). Every once in a while we also check (check())
// our counts via a query.
//
// If during a chunk migration an update is missed, we trigger an assertion and fail.
@@ -135,11 +135,6 @@ function diff1(){
return Math.max( x.shard0000 , x.shard0001 ) - Math.min( x.shard0000 , x.shard0001 );
}
-function sum(){
- var x = s.chunkCounts( "foo" )
- return x.shard0000 + x.shard0001;
-}
-
assert.lt( 20 , diff1() ,"initial load" );
print( diff1() )