summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlake Oler <blake.oler@mongodb.com>2019-10-04 13:58:35 +0000
committerevergreen <evergreen@mongodb.com>2019-10-04 13:58:35 +0000
commitf64cbba8bfdc2dfec2d90480944c00580bc4ce8f (patch)
tree746ee504d76dfb0c2379998771c27aff1740c4e4
parent20a03a3b3c96f54c5ec94a0eac8dcef768e39f43 (diff)
downloadmongo-f64cbba8bfdc2dfec2d90480944c00580bc4ce8f.tar.gz
SERVER-43680 Add transaction tags to tests affected by null shard key value changes
-rw-r--r--jstests/sharding/extract_shard_key_values.js2
-rw-r--r--jstests/sharding/update_replace_id.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/jstests/sharding/extract_shard_key_values.js b/jstests/sharding/extract_shard_key_values.js
index 3565e22b1b7..da2605fd9d8 100644
--- a/jstests/sharding/extract_shard_key_values.js
+++ b/jstests/sharding/extract_shard_key_values.js
@@ -2,7 +2,7 @@
// Tests that documents in a sharded collection with missing shard key fields are treated as if they
// contain an explicit null value for any missing fields.
//
-// @tags: [requires_find_command]
+// @tags: [requires_find_command, uses_transactions, uses_multi_shard_transactions]
(function() {
'use strict';
diff --git a/jstests/sharding/update_replace_id.js b/jstests/sharding/update_replace_id.js
index 837b1f97c98..5cd7a3c4cd1 100644
--- a/jstests/sharding/update_replace_id.js
+++ b/jstests/sharding/update_replace_id.js
@@ -11,7 +11,7 @@
* into its replacement, and in the case of an upsert will use the value of _id from the query
* filter.
*
- * @tags: [requires_find_command]
+ * @tags: [requires_find_command, uses_transactions, uses_multi_shard_transactions]
*/
(function() {
load("jstests/libs/profiler.js"); // For profilerHas*OrThrow helper functions.