summaryrefslogtreecommitdiff
path: root/jstests/core/profile2.js
diff options
context:
space:
mode:
authorPavi Vetriselvan <pavithra.vetriselvan@mongodb.com>2020-08-11 11:52:27 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-08-17 16:11:37 +0000
commite1daee88b3f4ef640e677143d210432e02a8fac2 (patch)
tree0cf2b8364c2c6743cac12d238aa856c1bc0373d0 /jstests/core/profile2.js
parent2aaceb6fd0e5fbccbc2183138f37e45847d55cd3 (diff)
downloadmongo-e1daee88b3f4ef640e677143d210432e02a8fac2.tar.gz
SERVER-49996 Ensure getSiblingDB() is used instead of getSisterDB()
Diffstat (limited to 'jstests/core/profile2.js')
-rw-r--r--jstests/core/profile2.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/profile2.js b/jstests/core/profile2.js
index d58fe533dd9..002a1ebc184 100644
--- a/jstests/core/profile2.js
+++ b/jstests/core/profile2.js
@@ -6,7 +6,7 @@
// sbe_incompatible,
// ]
-var coll = db.getSisterDB("profile2").profile2;
+var coll = db.getSiblingDB("profile2").profile2;
assert.commandWorked(coll.getDB().runCommand({profile: 0}));
coll.drop();