summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiangyu Yao <xiangyu.yao@mongodb.com>2018-06-29 12:01:57 -0400
committerXiangyu Yao <xiangyu.yao@mongodb.com>2018-06-29 17:24:11 -0400
commit821f9f69916da51f97e001b1c45dff6e49533f81 (patch)
tree9b47e236a3bcf883b59ea4f4304078fdb18b1a42
parentbd6fc63765d42d2bea695d0fd48defecfb14376c (diff)
downloadmongo-821f9f69916da51f97e001b1c45dff6e49533f81.tar.gz
SERVER-35704 Add uses_transactions tags to snapshot read tests
-rw-r--r--jstests/noPassthrough/crud_timestamps.js2
-rw-r--r--jstests/noPassthrough/readConcern_atClusterTime.js2
-rw-r--r--jstests/noPassthrough/readConcern_atClusterTime_noop_write.js2
-rw-r--r--jstests/noPassthrough/readConcern_snapshot.js2
4 files changed, 4 insertions, 4 deletions
diff --git a/jstests/noPassthrough/crud_timestamps.js b/jstests/noPassthrough/crud_timestamps.js
index 3157e2a265a..390a85727a2 100644
--- a/jstests/noPassthrough/crud_timestamps.js
+++ b/jstests/noPassthrough/crud_timestamps.js
@@ -1,4 +1,4 @@
-// @tags: [requires_replication]
+// @tags: [requires_replication, uses_transactions]
// Test the correct timestamping of insert, update, and delete writes along with their accompanying
// index updates.
diff --git a/jstests/noPassthrough/readConcern_atClusterTime.js b/jstests/noPassthrough/readConcern_atClusterTime.js
index 58814771bbf..a90a71feac9 100644
--- a/jstests/noPassthrough/readConcern_atClusterTime.js
+++ b/jstests/noPassthrough/readConcern_atClusterTime.js
@@ -2,7 +2,7 @@
//
// Only run this test with the WiredTiger storage engine, since we expect other storage engines to
// return early because they do not support snapshot read concern.
-// @tags: [requires_wiredtiger]
+// @tags: [requires_wiredtiger, uses_transactions]
function _getClusterTime(rst) {
const pingRes = assert.commandWorked(rst.getPrimary().adminCommand({ping: 1}));
diff --git a/jstests/noPassthrough/readConcern_atClusterTime_noop_write.js b/jstests/noPassthrough/readConcern_atClusterTime_noop_write.js
index e10796d856f..fbe3bc658d7 100644
--- a/jstests/noPassthrough/readConcern_atClusterTime_noop_write.js
+++ b/jstests/noPassthrough/readConcern_atClusterTime_noop_write.js
@@ -1,6 +1,6 @@
// Test that 'atClusterTime' triggers a noop write to advance the majority commit point if
// necessary.
-// @tags: [requires_sharding]
+// @tags: [requires_sharding, uses_transactions]
(function() {
"use strict";
diff --git a/jstests/noPassthrough/readConcern_snapshot.js b/jstests/noPassthrough/readConcern_snapshot.js
index 38139ceee9a..7c3800ca689 100644
--- a/jstests/noPassthrough/readConcern_snapshot.js
+++ b/jstests/noPassthrough/readConcern_snapshot.js
@@ -1,5 +1,5 @@
// Test parsing of readConcern level 'snapshot'.
-// @tags: [requires_replication]
+// @tags: [requires_replication, uses_transactions]
(function() {
"use strict";