summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorGabriel Marks <gabriel.marks@mongodb.com>2022-11-29 20:38:00 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-12-06 21:11:00 +0000
commit0bec27e9d02d90c6c62986f43ce507e55761e73b (patch)
treeec9b8ccd4c137084855ea801873100c667c88fab /jstests
parent1f16829e38ab24e820547e78c048d31b9946f09a (diff)
downloadmongo-0bec27e9d02d90c6c62986f43ce507e55761e73b.tar.gz
SERVER-67704 SERVER-67705 Fix processor package counting for ARM
Diffstat (limited to 'jstests')
-rw-r--r--jstests/core/hostinfo.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/jstests/core/hostinfo.js b/jstests/core/hostinfo.js
index a532c2865e6..4ec58c5bf02 100644
--- a/jstests/core/hostinfo.js
+++ b/jstests/core/hostinfo.js
@@ -32,8 +32,12 @@ if (hostinfo.os.type != "") {
assert.neq(hostinfo.system.cpuAddrSize, "" || null || 0, "Missing CPU Address Size");
assert.neq(hostinfo.system.memSizeMB, "" || null, "Missing Memory Size");
assert.neq(hostinfo.system.numCores, "" || null || 0, "Missing Number of Cores");
+ assert.neq(
+ hostinfo.system.numPhysicalCores, "" || null || 0, "Missing Number of Physical Cores");
+ assert.neq(hostinfo.system.numCpuSockets, "" || null || 0, "Missing Number of CPU Sockets");
assert.neq(hostinfo.system.cpuArch, "" || null, "Missing CPU Architecture");
assert.neq(hostinfo.system.numaEnabled, "" || null, "Missing NUMA flag");
+ assert.neq(hostinfo.system.numNumaNodes, "" || null || 0, "Missing Number of NUMA Nodes");
}
var buildInfo = assert.commandWorked(db.runCommand({buildInfo: 1}));