summaryrefslogtreecommitdiff
path: root/jstests/parallel
diff options
context:
space:
mode:
authorJonathan Reams <jbreams@mongodb.com>2015-04-30 09:47:35 -0400
committerJonathan Reams <jbreams@mongodb.com>2015-04-30 09:47:35 -0400
commitc269033226874638626b6c028bf0f81fa0af2006 (patch)
treeeda7eaf89b4389b245940fe5af3eac67e0807ba6 /jstests/parallel
parent88882960587d58c83f42ffaee6b3ab39b43be66c (diff)
downloadmongo-c269033226874638626b6c028bf0f81fa0af2006.tar.gz
SERVER-18099 Refactor buildinfo/version reporting
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;
}