summaryrefslogtreecommitdiff
path: root/jstests/libs/parallelTester.js
diff options
context:
space:
mode:
authorKamran Khan <kamran.khan@mongodb.com>2015-11-13 12:32:15 -0500
committerKamran Khan <kamran.khan@mongodb.com>2015-11-13 12:32:15 -0500
commit15376bdb5345ed321baa7c456237e9439f8e7549 (patch)
treebeddf25ac979c7d0cb59eff9a25c7148e3c0bee1 /jstests/libs/parallelTester.js
parentcd766108b26e7e272f3c367f9de8767399feeadd (diff)
downloadmongo-15376bdb5345ed321baa7c456237e9439f8e7549.tar.gz
SERVER-20941 Update v8-specific code and comments in JS tests
The switch to SpiderMonkey invalidated some of the code and comments.
Diffstat (limited to 'jstests/libs/parallelTester.js')
-rw-r--r--jstests/libs/parallelTester.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/libs/parallelTester.js b/jstests/libs/parallelTester.js
index c0d6b74b2d5..8b42fc0c7c7 100644
--- a/jstests/libs/parallelTester.js
+++ b/jstests/libs/parallelTester.js
@@ -268,7 +268,8 @@ if ( typeof _threadInject != "undefined" ){
runners.forEach( function( x ) { x.start(); } );
var nFailed = 0;
- // v8 doesn't like it if we exit before all threads are joined (SERVER-529)
+ // SpiderMonkey doesn't like it if we exit before all threads are joined
+ // (see SERVER-19615 for a similar issue).
runners.forEach( function( x ) { if( !x.returnData() ) { ++nFailed; } } );
assert.eq( 0, nFailed, msg );
}