summaryrefslogtreecommitdiff
path: root/jstests/core/loadserverscripts.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/loadserverscripts.js')
-rw-r--r--jstests/core/loadserverscripts.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/core/loadserverscripts.js b/jstests/core/loadserverscripts.js
index 641a07245fe..8e491a8fc7c 100644
--- a/jstests/core/loadserverscripts.js
+++ b/jstests/core/loadserverscripts.js
@@ -7,7 +7,7 @@
// Test db.loadServerScripts()
-var testdb = db.getSisterDB("loadserverscripts");
+var testdb = db.getSiblingDB("loadserverscripts");
jsTest.log("testing db.loadServerScripts()");
var x;
@@ -52,7 +52,7 @@ assert.eq(x, "myfunc", "Checking that myfunc() returns the correct value");
// Insert value into collection from another process
var coproc =
- startParallelShell('db.getSisterDB("loadserverscripts").system.js.insert' +
+ startParallelShell('db.getSiblingDB("loadserverscripts").system.js.insert' +
' ( {_id: "myfunc2", "value": function(){ return "myfunc2"; } } );');
// wait for results
coproc();