summaryrefslogtreecommitdiff
path: root/jstests/core/startup_log.js
diff options
context:
space:
mode:
authorAli Mir <ali.mir@mongodb.com>2020-10-02 20:40:13 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-10-13 21:19:55 +0000
commit6831f81b2b84325a2ef4f8c74c71d478eeadb34a (patch)
tree9d1b0003bb8d5f3ee61e0cc3673dcb37bede0938 /jstests/core/startup_log.js
parentded7b44e03b6aea749c764d0e4cc2556785b4eb4 (diff)
downloadmongo-6831f81b2b84325a2ef4f8c74c71d478eeadb34a.tar.gz
SERVER-51282 Replace all remaining reference to master slave terminology in jstests
Diffstat (limited to 'jstests/core/startup_log.js')
-rw-r--r--jstests/core/startup_log.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/core/startup_log.js b/jstests/core/startup_log.js
index 6f13bada629..7fda5f35b87 100644
--- a/jstests/core/startup_log.js
+++ b/jstests/core/startup_log.js
@@ -68,7 +68,7 @@ var buildinfo = db.runCommand("buildinfo");
delete buildinfo.ok; // Delete extra meta info not in startup_log
delete buildinfo.operationTime; // Delete extra meta info not in startup_log
delete buildinfo.$clusterTime; // Delete extra meta info not in startup_log
-var isMaster = db._adminCommand("ismaster");
+var hello = db._adminCommand("hello");
// Test buildinfo has the expected keys
var expectedKeys = [
@@ -107,7 +107,7 @@ assert.eq(
version, versionArrayCleaned.join('.'), "version doesn't match that from the versionArray");
var jsEngine = latestStartUpLog.buildinfo.javascriptEngine;
assert((jsEngine == "none") || jsEngine.startsWith("mozjs"));
-assert.eq(isMaster.maxBsonObjectSize,
+assert.eq(hello.maxBsonObjectSize,
latestStartUpLog.buildinfo.maxBsonObjectSize,
- "maxBsonObjectSize doesn't match one from ismaster");
+ "maxBsonObjectSize doesn't match one from hello");
})();