summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jstests/noPassthrough/transaction_reaper.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthrough/transaction_reaper.js b/jstests/noPassthrough/transaction_reaper.js
index 92b75f2cde6..5cce0d17f2f 100644
--- a/jstests/noPassthrough/transaction_reaper.js
+++ b/jstests/noPassthrough/transaction_reaper.js
@@ -83,7 +83,7 @@
for (var i = 0; i < nSessions; i++) {
// make a session and get it to the collection
var session = this.sessions[i];
- session.getDatabase("test").test.save({a: 1});
+ assert.writeOK(session.getDatabase("test").test.save({a: 1}));
}
// Ensure a write flushes a transaction