summaryrefslogtreecommitdiff
path: root/jstests/currentop.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/currentop.js')
-rw-r--r--jstests/currentop.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/currentop.js b/jstests/currentop.js
index fab935f5ad5..6c0868ec53d 100644
--- a/jstests/currentop.js
+++ b/jstests/currentop.js
@@ -16,7 +16,7 @@ s2 = startParallelShell( "db.jstests_currentop.update( { '$where': function() {
o = [];
assert.soon( function() {
- o = ops({});
+ o = ops({ "ns": "test.jstests_currentop" });
var writes = ops({ "lockType": "write", "ns": "test.jstests_currentop" }).length;
var reads = ops({ "lockType": "read", "ns": "test.jstests_currentop" }).length;