diff options
author | Eliot Horowitz <eliot@10gen.com> | 2010-08-25 09:54:20 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-08-25 09:54:20 -0400 |
commit | f6d50d513880d6bf0f9e6aae03d7cd303c22e97c (patch) | |
tree | 7c4d727637f00f31c5b1ac0d8cd08b630b6444d8 /jstests/sharding/features3.js | |
parent | da6e4186cf301ab1768ab230657a2fcb326bf375 (diff) | |
download | mongo-f6d50d513880d6bf0f9e6aae03d7cd303c22e97c.tar.gz |
some debugging for random features3 failures
Diffstat (limited to 'jstests/sharding/features3.js')
-rw-r--r-- | jstests/sharding/features3.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/jstests/sharding/features3.js b/jstests/sharding/features3.js index 34926ec6189..2813d809565 100644 --- a/jstests/sharding/features3.js +++ b/jstests/sharding/features3.js @@ -23,7 +23,9 @@ assert.eq( N / 2 , x.shards.shard0001.count , "count on shard0001" ) start = new Date() +print( "about to fork shell: " + Date() ) join = startParallelShell( "db.foo.find( function(){ x = \"\"; for ( i=0; i<5000; i++ ){ x+=i; } return true; } ).itcount()" ) +print( "after forking shell: " + Date() ) function getMine(){ var inprog = db.currentOp().inprog; @@ -59,6 +61,7 @@ for ( i=0; i<200000; i++ ){ } } +print( "after loop: " + Date() ); assert( killTime , "timed out waiting too kill last mine:" + tojson(mine) ) killTime = (new Date()).getTime() - killTime.getTime() print( "killTime: " + killTime ); |