Skip to content

Commit

Permalink
log a bit more info on the test
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberto Lerner committed Oct 25, 2010
1 parent 01e494c commit 9364b46
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jstests/sharding/auto1.js
Expand Up @@ -34,13 +34,15 @@ for ( ; i<200; i++ ){
}

s.printChunks()
s.printChangeLog()
counts.push( s.config.chunks.count() );

for ( ; i<400; i++ ){
coll.save( { num : i , s : bigString } );
}

s.printChunks();
s.printChangeLog()
counts.push( s.config.chunks.count() );

for ( ; i<700; i++ ){
Expand All @@ -49,6 +51,7 @@ for ( ; i<700; i++ ){
db.getLastError();

s.printChunks();
s.printChangeLog()
counts.push( s.config.chunks.count() );

assert( counts[counts.length-1] > counts[0] , "counts 1 : " + tojson( counts ) )
Expand Down

0 comments on commit 9364b46

Please sign in to comment.