diff options
author | Jason Carey <jcarey@argv.me> | 2018-03-02 15:48:22 -0500 |
---|---|---|
committer | Jason Carey <jcarey@argv.me> | 2018-05-03 15:33:36 -0400 |
commit | 1ac3b11b0ba6a74fa6dc2ec6980e44ae753089e7 (patch) | |
tree | c485fe06daabf8fc8e38f5501deb7c9bc96af2ea | |
parent | 719a465001ad8358360d17fbc3086cfe9cbb2ebb (diff) | |
download | mongo-1ac3b11b0ba6a74fa6dc2ec6980e44ae753089e7.tar.gz |
SERVER-33636 assert on transaction_reaper.js write
The transaction_reaper jstest should actually assert it's writes, rather
than noticing that they failed later.
(cherry picked from commit 1365c273c4b1aab22f70750963a910332a0db992)
-rw-r--r-- | jstests/noPassthrough/transaction_reaper.js | 2 |
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 |