summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Polato <paolo.polato@mongodb.com>2021-12-21 20:59:39 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-01-04 09:20:54 +0000
commit53b4b21bcf83ffc14156478293c90bfeab3b10a5 (patch)
tree81fc28bf08c5cb421471f2e61135380126c7b4d4
parent6f015837d63a2b9f672d78ae3feabff707cea96c (diff)
downloadmongo-53b4b21bcf83ffc14156478293c90bfeab3b10a5.tar.gz
SERVER-62181 Do not run tests with multiple parallel migrations in stepdown suitesr5.2.0-rc4
(cherry picked from commit 68b1c9ad4fe1c4015c587968bc23b7ec45c5dd17)
-rw-r--r--jstests/sharding/migration_move_chunk_after_receive.js14
-rw-r--r--jstests/sharding/movechunk_parallel.js12
2 files changed, 21 insertions, 5 deletions
diff --git a/jstests/sharding/migration_move_chunk_after_receive.js b/jstests/sharding/migration_move_chunk_after_receive.js
index d103bcae063..1b51594ab42 100644
--- a/jstests/sharding/migration_move_chunk_after_receive.js
+++ b/jstests/sharding/migration_move_chunk_after_receive.js
@@ -1,6 +1,14 @@
-// This test validates that if a shard donates a chunk immediately after a receive of another chunk
-// has completed, but before the original donor has committed the metadata change, we will not end
-// up with gaps in the metadata
+/**
+ * This test validates that if a shard donates a chunk immediately after a receive of another chunk
+ * has completed, but before the original donor has committed the metadata change, we will not end
+ * up with gaps in the metadata.
+ *
+ * @tags: [
+ * # SERVER-62181 avoid CS stepdowns, since they can cause the migrations
+ * # (in combination with their failpoints) issued by this test to enter a deadlock
+ * does_not_support_stepdowns,
+ * ]
+ */
load('./jstests/libs/chunk_manipulation_util.js');
diff --git a/jstests/sharding/movechunk_parallel.js b/jstests/sharding/movechunk_parallel.js
index c8318e175f0..061e3db75a7 100644
--- a/jstests/sharding/movechunk_parallel.js
+++ b/jstests/sharding/movechunk_parallel.js
@@ -1,5 +1,13 @@
-// Ensures that two manual moveChunk commands for the same collection will proceed in parallel so
-// long as they do not touch the same shards
+/**
+ * Ensures that two manual moveChunk commands for the same collection will proceed in parallel so
+ * long as they do not touch the same shards
+ *
+ * @tags: [
+ * # SERVER-62181 avoid CS stepdowns, since they can cause the migrations
+ * # (in combination with their failpoints) issued by this test to enter a deadlock
+ * does_not_support_stepdowns,
+ * ]
+ */
load('./jstests/libs/chunk_manipulation_util.js');
load("jstests/sharding/libs/find_chunks_util.js");