diff options
Diffstat (limited to 'jstests/slowNightly/sharding_cursors1.js')
-rw-r--r-- | jstests/slowNightly/sharding_cursors1.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/jstests/slowNightly/sharding_cursors1.js b/jstests/slowNightly/sharding_cursors1.js index 307e8d7..de59b0d 100644 --- a/jstests/slowNightly/sharding_cursors1.js +++ b/jstests/slowNightly/sharding_cursors1.js @@ -1,4 +1,4 @@ -s = new ShardingTest( "cursors1" , 2 , 0 , 1 , { chunksize : 1 } ) +s = new ShardingTest( "sharding_cursors1" , 2 , 0 , 1 , { chunksize : 1 } ) s.adminCommand( { enablesharding : "test" } ); @@ -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 + 1 ) ); + } } inserted = toInsert; |