summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Schultz <william.schultz@mongodb.com>2018-04-14 08:31:24 -0400
committerWilliam Schultz <william.schultz@mongodb.com>2018-04-14 08:31:24 -0400
commit5bc894ea366b5b2e9c6b9ecf5a41497e4a0fd860 (patch)
treea973d7e51d7b96a50b97a80140a35edf0dd274c0
parent6eafc0790bb3602551127fa831ea859a989c384f (diff)
downloadmongo-5bc894ea366b5b2e9c6b9ecf5a41497e4a0fd860.tar.gz
SERVER-33412 Tag tests with uses_transactions
-rw-r--r--jstests/core/txns/no_read_or_write_concern_inside_txn.js2
-rw-r--r--jstests/core/txns/no_snapshot_writes_outside_txn.js2
2 files changed, 4 insertions, 0 deletions
diff --git a/jstests/core/txns/no_read_or_write_concern_inside_txn.js b/jstests/core/txns/no_read_or_write_concern_inside_txn.js
index f4d26e4c74b..ae999e6f217 100644
--- a/jstests/core/txns/no_read_or_write_concern_inside_txn.js
+++ b/jstests/core/txns/no_read_or_write_concern_inside_txn.js
@@ -1,6 +1,8 @@
/**
* Verify that readConcern and writeConcern are not allowed in transactions other than the
* first statement (for readConcern) and the commit (for writeConcern)
+ *
+ * @tags: [uses_transactions]
*/
(function() {
diff --git a/jstests/core/txns/no_snapshot_writes_outside_txn.js b/jstests/core/txns/no_snapshot_writes_outside_txn.js
index 2d04e16f7b2..e725be47944 100644
--- a/jstests/core/txns/no_snapshot_writes_outside_txn.js
+++ b/jstests/core/txns/no_snapshot_writes_outside_txn.js
@@ -1,5 +1,7 @@
/**
* Verify that readConcern: snapshot is not permitted on writes outside transactions.
+ *
+ * @tags: [uses_transactions]
*/
(function() {