summaryrefslogtreecommitdiff
path: root/jstests/parallel
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/parallel')
-rw-r--r--jstests/parallel/manyclients.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/parallel/manyclients.js b/jstests/parallel/manyclients.js
index 9b86680e26b..4e5b94a0fdc 100644
--- a/jstests/parallel/manyclients.js
+++ b/jstests/parallel/manyclients.js
@@ -11,10 +11,10 @@ t = new ParallelTester();
// v8 uses about 30M (res) per thread, so can't do many more on an 8GB system
numThreads = 125;
-buildInfo = db.adminCommand( "buildInfo" )
+buildInfo = db.adminCommand( "buildInfo" ).buildEnvironment
-if ( buildInfo.bits < 64 ||
- buildInfo.sysInfo.indexOf( "Linux" ) < 0 ||
+if ( buildInfo.pointerSizeBits < 64 ||
+ buildInfo.target_os != "linux" ||
buildInfo.debug ) {
numThreads = 50;
}