summaryrefslogtreecommitdiff
path: root/jstests/noPassthroughWithMongod/tailable_getmore_does_not_timeout.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthroughWithMongod/tailable_getmore_does_not_timeout.js')
-rw-r--r--jstests/noPassthroughWithMongod/tailable_getmore_does_not_timeout.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthroughWithMongod/tailable_getmore_does_not_timeout.js b/jstests/noPassthroughWithMongod/tailable_getmore_does_not_timeout.js
index 600d8be4733..54c00aa554d 100644
--- a/jstests/noPassthroughWithMongod/tailable_getmore_does_not_timeout.js
+++ b/jstests/noPassthroughWithMongod/tailable_getmore_does_not_timeout.js
@@ -15,7 +15,7 @@ coll.drop();
assert.commandWorked(db.runCommand({create: coll.getName(), capped: true, size: 1024}));
for (let i = 0; i < 10; ++i) {
- assert.writeOK(coll.insert({_id: i}));
+ assert.commandWorked(coll.insert({_id: i}));
}
const findResponse = assert.commandWorked(