summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg McKeon <greg.mckeon@mongodb.com>2019-11-08 09:16:27 -0800
committerGreg McKeon <greg.mckeon@mongodb.com>2019-11-08 19:23:44 -0800
commitab5daf7841e8f0e9eb72e669720d38c940085f55 (patch)
tree9d0e0130bd7f39c36b20d8938e74361a21461ada
parentcbb1b4ef911f3093fc5626cc315cde6159859387 (diff)
downloadmongo-ab5daf7841e8f0e9eb72e669720d38c940085f55.tar.gz
Updated txns test tags
-rw-r--r--jstests/core/txns/abort_expired_transaction.js2
-rw-r--r--jstests/core/txns/abort_prepared_transaction.js2
-rw-r--r--jstests/core/txns/abort_transaction_thread_does_not_block_on_locks.js2
-rw-r--r--jstests/core/txns/abort_unprepared_transactions_on_FCV_downgrade.js2
-rw-r--r--jstests/core/txns/await_prepared_transactions_on_FCV_downgrade.js3
-rw-r--r--jstests/core/txns/banned_txn_dbs.js2
-rw-r--r--jstests/core/txns/commands_banning_txnnumber_outside_transactions.js1
-rw-r--r--jstests/core/txns/commit_and_abort_large_prepared_transactions.js2
-rw-r--r--jstests/core/txns/commit_prepared_transaction.js2
-rw-r--r--jstests/core/txns/commit_prepared_transaction_errors.js2
-rw-r--r--jstests/core/txns/currentop_blocked_operations.js2
-rw-r--r--jstests/core/txns/disallow_operations_on_prepared_transaction.js2
-rw-r--r--jstests/core/txns/downgrade_fcv_while_large_partial_txn_in_progress.js2
-rw-r--r--jstests/core/txns/empty_prepare.js2
-rw-r--r--jstests/core/txns/ensure_active_txn_for_prepare_transaction.js2
-rw-r--r--jstests/core/txns/errors_on_committed_transaction.js2
-rw-r--r--jstests/core/txns/kill_cursors_in_transaction.js2
-rw-r--r--jstests/core/txns/kill_op_on_txn_expiry.js2
-rw-r--r--jstests/core/txns/kill_sessions_kills_transaction.js2
-rw-r--r--jstests/core/txns/large_transactions_require_fcv42.js2
-rw-r--r--jstests/core/txns/listcollections_autocomplete.js2
-rw-r--r--jstests/core/txns/no_new_transactions_when_prepared_transaction_in_progress.js2
-rw-r--r--jstests/core/txns/no_read_concern_snapshot_outside_txn.js2
-rw-r--r--jstests/core/txns/no_reads_from_system_dot_views_in_txn.js2
-rw-r--r--jstests/core/txns/no_writes_to_config_transactions_with_prepared_transaction.js2
-rw-r--r--jstests/core/txns/no_writes_to_system_collections_in_txn.js2
-rw-r--r--jstests/core/txns/prepare_conflict.js2
-rw-r--r--jstests/core/txns/prepare_conflict_aggregation_behavior.js2
-rw-r--r--jstests/core/txns/prepare_nonexistent_transaction.js2
-rw-r--r--jstests/core/txns/prepare_prepared_transaction.js2
-rw-r--r--jstests/core/txns/prepare_requires_fcv42.js2
-rw-r--r--jstests/core/txns/prepare_transaction_fails_on_temp_collections.js2
-rw-r--r--jstests/core/txns/prepare_transaction_unique_index_conflict.js2
-rw-r--r--jstests/core/txns/prepared_transactions_do_not_block_non_conflicting_ddl.js2
-rw-r--r--jstests/core/txns/speculative_snapshot_includes_all_writes.js2
-rw-r--r--jstests/core/txns/statement_ids_accepted.js2
-rw-r--r--jstests/core/txns/timestamped_reads_wait_for_prepare_oplog_visibility.js2
-rw-r--r--jstests/core/txns/transactions_profiling_with_drops.js2
38 files changed, 39 insertions, 37 deletions
diff --git a/jstests/core/txns/abort_expired_transaction.js b/jstests/core/txns/abort_expired_transaction.js
index c64ed7407e5..bd7ca76e3ae 100644
--- a/jstests/core/txns/abort_expired_transaction.js
+++ b/jstests/core/txns/abort_expired_transaction.js
@@ -2,7 +2,7 @@
// 'transactionLifetimeLimitSeconds' to lower the transaction lifetime for quicker transaction
// expiration.
//
-// @tags: [uses_transactions]
+// @tags: [uses_transactions, assumes_superuser_permissions]
(function() {
"use strict";
diff --git a/jstests/core/txns/abort_prepared_transaction.js b/jstests/core/txns/abort_prepared_transaction.js
index 3f2a21f98c1..8b1c55a7a92 100644
--- a/jstests/core/txns/abort_prepared_transaction.js
+++ b/jstests/core/txns/abort_prepared_transaction.js
@@ -1,7 +1,7 @@
/**
* Tests prepared transaction abort support.
*
- * @tags: [uses_transactions, uses_prepare_transaction]
+ * @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
*/
(function() {
"use strict";
diff --git a/jstests/core/txns/abort_transaction_thread_does_not_block_on_locks.js b/jstests/core/txns/abort_transaction_thread_does_not_block_on_locks.js
index 5b899e73689..aa4615f009b 100644
--- a/jstests/core/txns/abort_transaction_thread_does_not_block_on_locks.js
+++ b/jstests/core/txns/abort_transaction_thread_does_not_block_on_locks.js
@@ -4,7 +4,7 @@
// require taking further locks that would queue up behind the drop cmd's database exclusive lock
// request.
//
-// @tags: [uses_transactions]
+// @tags: [uses_transactions, assumes_superuser_permissions]
(function() {
"use strict";
diff --git a/jstests/core/txns/abort_unprepared_transactions_on_FCV_downgrade.js b/jstests/core/txns/abort_unprepared_transactions_on_FCV_downgrade.js
index aadda6561a9..b078a99f9c9 100644
--- a/jstests/core/txns/abort_unprepared_transactions_on_FCV_downgrade.js
+++ b/jstests/core/txns/abort_unprepared_transactions_on_FCV_downgrade.js
@@ -1,5 +1,5 @@
// Test that open unprepared transactions are aborted on FCV downgrade.
-// @tags: [uses_transactions]
+// @tags: [uses_transactions, assumes_superuser_permissions]
(function() {
"use strict";
load("jstests/libs/feature_compatibility_version.js");
diff --git a/jstests/core/txns/await_prepared_transactions_on_FCV_downgrade.js b/jstests/core/txns/await_prepared_transactions_on_FCV_downgrade.js
index 32e5822519c..e2c1fe3f385 100644
--- a/jstests/core/txns/await_prepared_transactions_on_FCV_downgrade.js
+++ b/jstests/core/txns/await_prepared_transactions_on_FCV_downgrade.js
@@ -1,6 +1,7 @@
/**
* Test that we wait for prepared transactions to finish during downgrade to FCV 4.0.
- * @tags: [uses_transactions, uses_prepare_transaction]
+ * @tags: [uses_transactions, uses_prepare_transaction, uses_testing_only_commands,
+ * assumes_superuser_permissions]
*/
(function() {
"use strict";
diff --git a/jstests/core/txns/banned_txn_dbs.js b/jstests/core/txns/banned_txn_dbs.js
index 78bcef608a5..34554c1e86f 100644
--- a/jstests/core/txns/banned_txn_dbs.js
+++ b/jstests/core/txns/banned_txn_dbs.js
@@ -1,6 +1,6 @@
// Tests that reads and writes to the config, admin, and local databases are forbidden within
// transactions.
-// @tags: [uses_transactions]
+// @tags: [uses_transactions, assumes_superuser_permissions]
(function() {
"use strict";
diff --git a/jstests/core/txns/commands_banning_txnnumber_outside_transactions.js b/jstests/core/txns/commands_banning_txnnumber_outside_transactions.js
index 7f611ce2869..8cf35c998e4 100644
--- a/jstests/core/txns/commands_banning_txnnumber_outside_transactions.js
+++ b/jstests/core/txns/commands_banning_txnnumber_outside_transactions.js
@@ -1,6 +1,7 @@
// Test that commands other than retryable writes may not use txnNumber outside transactions.
// @tags: [
// requires_document_locking,
+// assumes_superuser_permissions
// ]
(function() {
"use strict";
diff --git a/jstests/core/txns/commit_and_abort_large_prepared_transactions.js b/jstests/core/txns/commit_and_abort_large_prepared_transactions.js
index d7505dfb043..c667324fc79 100644
--- a/jstests/core/txns/commit_and_abort_large_prepared_transactions.js
+++ b/jstests/core/txns/commit_and_abort_large_prepared_transactions.js
@@ -1,7 +1,7 @@
/**
* Tests support for prepared transactions larger than 16MB.
*
- * @tags: [uses_transactions, uses_prepare_transaction]
+ * @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
*/
(function() {
diff --git a/jstests/core/txns/commit_prepared_transaction.js b/jstests/core/txns/commit_prepared_transaction.js
index d8bd4908943..b8e86fd0a4c 100644
--- a/jstests/core/txns/commit_prepared_transaction.js
+++ b/jstests/core/txns/commit_prepared_transaction.js
@@ -1,7 +1,7 @@
/**
* Tests prepared transaction commit support.
*
- * @tags: [uses_transactions, uses_prepare_transaction]
+ * @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
*/
load("jstests/core/txns/libs/prepare_helpers.js");
diff --git a/jstests/core/txns/commit_prepared_transaction_errors.js b/jstests/core/txns/commit_prepared_transaction_errors.js
index 64b27f3c16c..9e784c015b2 100644
--- a/jstests/core/txns/commit_prepared_transaction_errors.js
+++ b/jstests/core/txns/commit_prepared_transaction_errors.js
@@ -1,7 +1,7 @@
/**
* Test error cases for committing prepared transactions.
*
- * @tags: [uses_transactions, uses_prepare_transaction]
+ * @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
*/
(function() {
"use strict";
diff --git a/jstests/core/txns/currentop_blocked_operations.js b/jstests/core/txns/currentop_blocked_operations.js
index 01a5026a668..7a8bfa87a7c 100644
--- a/jstests/core/txns/currentop_blocked_operations.js
+++ b/jstests/core/txns/currentop_blocked_operations.js
@@ -1,7 +1,7 @@
/**
* Tests that currentOp reports debug information for operations that are blocked on transactions.
*
- * @tags: [uses_transactions, uses_prepare_transaction]
+ * @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
*/
(function() {
"use strict";
diff --git a/jstests/core/txns/disallow_operations_on_prepared_transaction.js b/jstests/core/txns/disallow_operations_on_prepared_transaction.js
index 0e6a8453aa9..dac492a1995 100644
--- a/jstests/core/txns/disallow_operations_on_prepared_transaction.js
+++ b/jstests/core/txns/disallow_operations_on_prepared_transaction.js
@@ -3,7 +3,7 @@
* be allowed to be called on a prepared transaction. All other cases should fail with
* PreparedTransactionInProgress.
*
- * @tags: [uses_transactions, uses_prepare_transaction]
+ * @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
*/
(function() {
diff --git a/jstests/core/txns/downgrade_fcv_while_large_partial_txn_in_progress.js b/jstests/core/txns/downgrade_fcv_while_large_partial_txn_in_progress.js
index 3bbd380770e..17b53ac8be5 100644
--- a/jstests/core/txns/downgrade_fcv_while_large_partial_txn_in_progress.js
+++ b/jstests/core/txns/downgrade_fcv_while_large_partial_txn_in_progress.js
@@ -3,7 +3,7 @@
* will fail on commit. This tests the case where a race condition may lead to the running
* transaction committing before it could be aborted due to downgrade.
*
- * @tags: [uses_transactions]
+ * @tags: [uses_transactions, uses_testing_only_commands]
*/
(function() {
diff --git a/jstests/core/txns/empty_prepare.js b/jstests/core/txns/empty_prepare.js
index 59c0bce1f54..fb34e050a5e 100644
--- a/jstests/core/txns/empty_prepare.js
+++ b/jstests/core/txns/empty_prepare.js
@@ -1,7 +1,7 @@
/**
* Tests transactions that are prepared after no writes.
*
- * @tags: [uses_transactions, uses_prepare_transaction]
+ * @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
*/
(function() {
"use strict";
diff --git a/jstests/core/txns/ensure_active_txn_for_prepare_transaction.js b/jstests/core/txns/ensure_active_txn_for_prepare_transaction.js
index 2847d139c89..a9212e9cd51 100644
--- a/jstests/core/txns/ensure_active_txn_for_prepare_transaction.js
+++ b/jstests/core/txns/ensure_active_txn_for_prepare_transaction.js
@@ -1,7 +1,7 @@
/**
* Test that we can't call prepareTransaction if there isn't an active transaction on the session.
*
- * @tags: [uses_transactions, uses_prepare_transaction]
+ * @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
*/
(function() {
diff --git a/jstests/core/txns/errors_on_committed_transaction.js b/jstests/core/txns/errors_on_committed_transaction.js
index 2734f7fa11a..8d46b54d367 100644
--- a/jstests/core/txns/errors_on_committed_transaction.js
+++ b/jstests/core/txns/errors_on_committed_transaction.js
@@ -1,7 +1,7 @@
/**
* Test error cases when calling prepare on a committed transaction.
*
- * @tags: [uses_transactions, uses_prepare_transaction]
+ * @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
*/
(function() {
"use strict";
diff --git a/jstests/core/txns/kill_cursors_in_transaction.js b/jstests/core/txns/kill_cursors_in_transaction.js
index f0dbe8330f1..c2a1bfa231a 100644
--- a/jstests/core/txns/kill_cursors_in_transaction.js
+++ b/jstests/core/txns/kill_cursors_in_transaction.js
@@ -1,5 +1,5 @@
// Tests that the killCursors command is allowed in transactions.
-// @tags: [uses_transactions]
+// @tags: [uses_transactions, assumes_superuser_permissions]
(function() {
"use strict";
diff --git a/jstests/core/txns/kill_op_on_txn_expiry.js b/jstests/core/txns/kill_op_on_txn_expiry.js
index dde4930bfae..dda4db63f2a 100644
--- a/jstests/core/txns/kill_op_on_txn_expiry.js
+++ b/jstests/core/txns/kill_op_on_txn_expiry.js
@@ -1,5 +1,5 @@
// Test that ongoing operations in a transaction are interrupted when the transaction expires.
-// @tags: [uses_transactions]
+// @tags: [uses_transactions, assumes_superuser_permissions]
(function() {
"use strict";
diff --git a/jstests/core/txns/kill_sessions_kills_transaction.js b/jstests/core/txns/kill_sessions_kills_transaction.js
index bd03a124624..c88b2d6a439 100644
--- a/jstests/core/txns/kill_sessions_kills_transaction.js
+++ b/jstests/core/txns/kill_sessions_kills_transaction.js
@@ -1,5 +1,5 @@
// Tests that killSessions kills inactive transactions.
-// @tags: [uses_transactions]
+// @tags: [uses_transactions, assumes_superuser_permissions]
(function() {
"use strict";
diff --git a/jstests/core/txns/large_transactions_require_fcv42.js b/jstests/core/txns/large_transactions_require_fcv42.js
index cbfa89f6e73..9b14c97a306 100644
--- a/jstests/core/txns/large_transactions_require_fcv42.js
+++ b/jstests/core/txns/large_transactions_require_fcv42.js
@@ -1,7 +1,7 @@
/**
* Tests that transactions larger than 16MB can only be created in FCV 4.2.
*
- * @tags: [uses_transactions]
+ * @tags: [uses_transactions, assumes_superuser_permissions]
*/
(function() {
"uses strict";
diff --git a/jstests/core/txns/listcollections_autocomplete.js b/jstests/core/txns/listcollections_autocomplete.js
index 01921406f43..8f64d8a31e0 100644
--- a/jstests/core/txns/listcollections_autocomplete.js
+++ b/jstests/core/txns/listcollections_autocomplete.js
@@ -1,7 +1,7 @@
/**
* Auto complete returns quickly if listCollections is blocked by the transaction lock.
*
- * @tags: [uses_transactions, assumes_unsharded_collection]
+ * @tags: [uses_transactions, assumes_unsharded_collection, uses_testing_only_commands]
*/
(function() {
'use strict';
diff --git a/jstests/core/txns/no_new_transactions_when_prepared_transaction_in_progress.js b/jstests/core/txns/no_new_transactions_when_prepared_transaction_in_progress.js
index ce41fb98620..41f6b63c1f4 100644
--- a/jstests/core/txns/no_new_transactions_when_prepared_transaction_in_progress.js
+++ b/jstests/core/txns/no_new_transactions_when_prepared_transaction_in_progress.js
@@ -1,6 +1,6 @@
/**
* Tests that we cannot start a new transaction when a prepared transaction exists on the session.
- * @tags: [uses_transactions, uses_prepare_transaction]
+ * @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
*
*/
diff --git a/jstests/core/txns/no_read_concern_snapshot_outside_txn.js b/jstests/core/txns/no_read_concern_snapshot_outside_txn.js
index 7840a538b74..922893056ab 100644
--- a/jstests/core/txns/no_read_concern_snapshot_outside_txn.js
+++ b/jstests/core/txns/no_read_concern_snapshot_outside_txn.js
@@ -1,7 +1,7 @@
/**
* Verify that readConcern: snapshot is not permitted outside transactions.
*
- * @tags: [uses_transactions]
+ * @tags: [uses_transactions, uses_testing_only_commands]
*/
(function() {
diff --git a/jstests/core/txns/no_reads_from_system_dot_views_in_txn.js b/jstests/core/txns/no_reads_from_system_dot_views_in_txn.js
index 808bc8dbb72..bd53ab967d0 100644
--- a/jstests/core/txns/no_reads_from_system_dot_views_in_txn.js
+++ b/jstests/core/txns/no_reads_from_system_dot_views_in_txn.js
@@ -1,5 +1,5 @@
// Tests that it is illegal to read from system.views within a transaction.
-// @tags: [uses_transactions, uses_snapshot_read_concern]
+// @tags: [uses_transactions, uses_snapshot_read_concern, assumes_superuser_permissions]
(function() {
"use strict";
diff --git a/jstests/core/txns/no_writes_to_config_transactions_with_prepared_transaction.js b/jstests/core/txns/no_writes_to_config_transactions_with_prepared_transaction.js
index 067bf1482fa..804b731c76c 100644
--- a/jstests/core/txns/no_writes_to_config_transactions_with_prepared_transaction.js
+++ b/jstests/core/txns/no_writes_to_config_transactions_with_prepared_transaction.js
@@ -2,7 +2,7 @@
* Tests that other than insertions, it is illegal to modify config.transactions while the session
* has a prepared transaction.
*
- * @tags: [uses_transactions, uses_prepare_transaction]
+ * @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
*/
(function() {
diff --git a/jstests/core/txns/no_writes_to_system_collections_in_txn.js b/jstests/core/txns/no_writes_to_system_collections_in_txn.js
index a5956723b1e..d8704252d54 100644
--- a/jstests/core/txns/no_writes_to_system_collections_in_txn.js
+++ b/jstests/core/txns/no_writes_to_system_collections_in_txn.js
@@ -1,5 +1,5 @@
// Tests that it is illegal to write to system collections within a transaction.
-// @tags: [uses_transactions, uses_snapshot_read_concern]
+// @tags: [uses_transactions, uses_snapshot_read_concern, assumes_superuser_permissions]
(function() {
"use strict";
diff --git a/jstests/core/txns/prepare_conflict.js b/jstests/core/txns/prepare_conflict.js
index 7eb4212c5c3..2e2ca0a9661 100644
--- a/jstests/core/txns/prepare_conflict.js
+++ b/jstests/core/txns/prepare_conflict.js
@@ -1,7 +1,7 @@
/**
* Tests that prepare conflicts for prepared transactions are retried.
*
- * @tags: [uses_transactions, uses_prepare_transaction]
+ * @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
*/
(function() {
"use strict";
diff --git a/jstests/core/txns/prepare_conflict_aggregation_behavior.js b/jstests/core/txns/prepare_conflict_aggregation_behavior.js
index c62b7370dc6..972aad211f3 100644
--- a/jstests/core/txns/prepare_conflict_aggregation_behavior.js
+++ b/jstests/core/txns/prepare_conflict_aggregation_behavior.js
@@ -3,7 +3,7 @@
* should not block on prepare conflicts, but writing out to a collection as a part of an aggregate
* pipeline should block on prepare conflicts.
*
- * @tags: [uses_transactions, uses_prepare_transaction]
+ * @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
*/
(function() {
"use strict";
diff --git a/jstests/core/txns/prepare_nonexistent_transaction.js b/jstests/core/txns/prepare_nonexistent_transaction.js
index c68c9164556..8ddbf825343 100644
--- a/jstests/core/txns/prepare_nonexistent_transaction.js
+++ b/jstests/core/txns/prepare_nonexistent_transaction.js
@@ -1,7 +1,7 @@
/**
* Test error cases when calling prepare on a non-existent transaction.
*
- * @tags: [uses_transactions, uses_prepare_transaction]
+ * @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
*/
(function() {
"use strict";
diff --git a/jstests/core/txns/prepare_prepared_transaction.js b/jstests/core/txns/prepare_prepared_transaction.js
index e7148349f53..92ba8584d3d 100644
--- a/jstests/core/txns/prepare_prepared_transaction.js
+++ b/jstests/core/txns/prepare_prepared_transaction.js
@@ -1,7 +1,7 @@
/**
* Tests that we can successfully prepare a prepared transaction.
*
- * @tags: [uses_transactions, uses_prepare_transaction]
+ * @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
*/
(function() {
"use strict";
diff --git a/jstests/core/txns/prepare_requires_fcv42.js b/jstests/core/txns/prepare_requires_fcv42.js
index 6f32918d332..07869bd501c 100644
--- a/jstests/core/txns/prepare_requires_fcv42.js
+++ b/jstests/core/txns/prepare_requires_fcv42.js
@@ -1,7 +1,7 @@
/**
* Tests that 'prepareTransaction' only succeeds in FCV 4.2.
*
- * @tags: [uses_transactions, uses_prepare_transaction]
+ * @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
*/
(function() {
"use strict";
diff --git a/jstests/core/txns/prepare_transaction_fails_on_temp_collections.js b/jstests/core/txns/prepare_transaction_fails_on_temp_collections.js
index 14ba3cb7926..a4dafa7a50a 100644
--- a/jstests/core/txns/prepare_transaction_fails_on_temp_collections.js
+++ b/jstests/core/txns/prepare_transaction_fails_on_temp_collections.js
@@ -4,7 +4,7 @@
* Transactions should not operate on temporary collections because they are for internal use only
* and are deleted on both repl stepup and server startup.
*
- * @tags: [uses_transactions, uses_prepare_transaction]
+ * @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
*/
(function() {
diff --git a/jstests/core/txns/prepare_transaction_unique_index_conflict.js b/jstests/core/txns/prepare_transaction_unique_index_conflict.js
index 9fc0dae7a0b..f45edd9b23b 100644
--- a/jstests/core/txns/prepare_transaction_unique_index_conflict.js
+++ b/jstests/core/txns/prepare_transaction_unique_index_conflict.js
@@ -5,7 +5,7 @@
* collection. Since there are prepared operations on documents in the collection, the read should
* cause a prepare conflict.
*
- * @tags: [uses_transactions, uses_prepare_transaction]
+ * @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
*/
(function() {
diff --git a/jstests/core/txns/prepared_transactions_do_not_block_non_conflicting_ddl.js b/jstests/core/txns/prepared_transactions_do_not_block_non_conflicting_ddl.js
index 0458f213960..40971d9d024 100644
--- a/jstests/core/txns/prepared_transactions_do_not_block_non_conflicting_ddl.js
+++ b/jstests/core/txns/prepared_transactions_do_not_block_non_conflicting_ddl.js
@@ -1,5 +1,5 @@
// Test that prepared transactions don't block DDL operations on the non-conflicting collections.
-// @tags: [uses_transactions, uses_prepare_transaction]
+// @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
(function() {
"use strict";
diff --git a/jstests/core/txns/speculative_snapshot_includes_all_writes.js b/jstests/core/txns/speculative_snapshot_includes_all_writes.js
index efeefdfa889..1c180e06d21 100644
--- a/jstests/core/txns/speculative_snapshot_includes_all_writes.js
+++ b/jstests/core/txns/speculative_snapshot_includes_all_writes.js
@@ -1,7 +1,7 @@
/**
* A speculative snapshot must not include any writes ordered after any uncommitted writes.
*
- * @tags: [uses_transactions]
+ * @tags: [uses_transactions, uses_testing_only_commands]
*/
(function() {
"use strict";
diff --git a/jstests/core/txns/statement_ids_accepted.js b/jstests/core/txns/statement_ids_accepted.js
index d93c0e818be..80a0070e311 100644
--- a/jstests/core/txns/statement_ids_accepted.js
+++ b/jstests/core/txns/statement_ids_accepted.js
@@ -1,6 +1,6 @@
// Makes sure all commands which are supposed to take statement ids do. This should test all
// commands that are allowed in transactions.
-// @tags: [uses_transactions, uses_prepare_transaction]
+// @tags: [uses_transactions, uses_prepare_transaction, assumes_superuser_permissions]
(function() {
"use strict";
diff --git a/jstests/core/txns/timestamped_reads_wait_for_prepare_oplog_visibility.js b/jstests/core/txns/timestamped_reads_wait_for_prepare_oplog_visibility.js
index a3334f6a7bc..97591dd3152 100644
--- a/jstests/core/txns/timestamped_reads_wait_for_prepare_oplog_visibility.js
+++ b/jstests/core/txns/timestamped_reads_wait_for_prepare_oplog_visibility.js
@@ -2,7 +2,7 @@
* Tests that timestamped reads, reads with snapshot and afterClusterTime, wait for the prepare
* transaction oplog entry to be visible before choosing a read timestamp.
*
- * @tags: [uses_transactions, uses_prepare_transaction]
+ * @tags: [uses_transactions, uses_prepare_transaction, uses_testing_only_commands]
*/
(function() {
'use strict';
diff --git a/jstests/core/txns/transactions_profiling_with_drops.js b/jstests/core/txns/transactions_profiling_with_drops.js
index 03fea946b35..6147dbada2b 100644
--- a/jstests/core/txns/transactions_profiling_with_drops.js
+++ b/jstests/core/txns/transactions_profiling_with_drops.js
@@ -1,5 +1,5 @@
// Tests that locks acquisitions for profiling in a transaction have a 0-second timeout.
-// @tags: [uses_transactions]
+// @tags: [uses_transactions, uses_multiple_connections]
(function() {
"use strict";