Browse files

log a bit more inside the test

  • Loading branch information...
1 parent 0b1282b commit 3df26f878771d27432cac29700ff9da44a7fa640 Alberto Lerner committed Oct 26, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 jstests/slowNightly/sharding_cursors1.js
View
4 jstests/slowNightly/sharding_cursors1.js
@@ -17,6 +17,10 @@ toInsert = ( 1 * 1000 * 1000 );
for (var i=0; i < toInsert; i++ ){
db.foo.insert( { i: i, r: Math.random(), s: bigString } );
assert.eq(db.getLastError(), null, 'no error'); //SERVER-1541
+
+ if ( i % 1000 == 999 ) {
+ print( "already inserted " + i );
+ }
}
inserted = toInsert;

0 comments on commit 3df26f8

Please sign in to comment.