summaryrefslogtreecommitdiff
path: root/jstests/replsets/apply_ops_create_view.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/apply_ops_create_view.js')
-rw-r--r--jstests/replsets/apply_ops_create_view.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/jstests/replsets/apply_ops_create_view.js b/jstests/replsets/apply_ops_create_view.js
index 4554ea2dc76..0aac71ee490 100644
--- a/jstests/replsets/apply_ops_create_view.js
+++ b/jstests/replsets/apply_ops_create_view.js
@@ -14,4 +14,6 @@
const cmd = {applyOps: [{op: "c", ns: db + ".$cmd", o: {create: "foo", viewOn: "bar"}}]};
assert.commandWorked(db.runCommand(cmd), tojson(cmd));
assert.eq(db.foo.findOne({a: 1}).b, "hi");
+
+ replTest.stopSet();
}());