diff options
author | Jason Carey <jcarey@argv.me> | 2018-03-02 15:48:22 -0500 |
---|---|---|
committer | Jason Carey <jcarey@argv.me> | 2018-03-06 15:35:38 -0500 |
commit | 1365c273c4b1aab22f70750963a910332a0db992 (patch) | |
tree | 03c1d5c224eeae68087bb6f97b4c959b97486e45 /jstests/noPassthrough/transaction_reaper.js | |
parent | 2999202e0ca0e2a911352acbc47643650e7cefb8 (diff) | |
download | mongo-1365c273c4b1aab22f70750963a910332a0db992.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.
Diffstat (limited to 'jstests/noPassthrough/transaction_reaper.js')
-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 bde965e9c22..cdf58ec481e 100644 --- a/jstests/noPassthrough/transaction_reaper.js +++ b/jstests/noPassthrough/transaction_reaper.js @@ -84,7 +84,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 |