summaryrefslogtreecommitdiff
path: root/jstests/core
diff options
context:
space:
mode:
authorWenbin Zhu <wenbin.zhu@mongodb.com>2022-08-01 15:55:55 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-08-01 16:26:45 +0000
commit13eeb512c993348efa814c2c2eead9fe725aa843 (patch)
tree5a9b1507213946914fe380bf0eea103e174d7775 /jstests/core
parent88b67f2d7fe0749855a4945d68efb85dc76790b9 (diff)
downloadmongo-13eeb512c993348efa814c2c2eead9fe725aa843.tar.gz
SERVER-68441 Exclude collection_uuid_index_commands.js from failover passthrough suites.
Diffstat (limited to 'jstests/core')
-rw-r--r--jstests/core/collection_uuid_index_commands.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/jstests/core/collection_uuid_index_commands.js b/jstests/core/collection_uuid_index_commands.js
index 785183b8019..85c9f0a9124 100644
--- a/jstests/core/collection_uuid_index_commands.js
+++ b/jstests/core/collection_uuid_index_commands.js
@@ -4,6 +4,7 @@
* @tags: [
* requires_fcv_60,
* tenant_migration_incompatible,
+ * requires_non_retryable_commands,
* ]
*/
(function() {
@@ -20,12 +21,6 @@ const validateErrorResponse = function(
// In sharded cluster scenario, the inner raw shards reply should contain the error info,
// along with the outer reply obj.
for (let [_, shardReply] of Object.entries(res.raw)) {
- if (shardReply.code === ErrorCodes.HostUnreachable) {
- // We can hit this error on some suites that kills the primary node on shards.
- // Skipping is safe as this is rare and most probably happens on one shard.
- continue;
- }
-
assert.eq(shardReply.code, ErrorCodes.CollectionUUIDMismatch);
assert.eq(shardReply.db, db);
assert.eq(shardReply.collectionUUID, collectionUUID);