The upsert_unique_index_collation.js test creates a unique index on a key other than _id. When this test runs in the concurrency_sharded_multi_stmt_txn_with_balancer_and_config_transitions suite, moveCollections are run in the background and resharding fails in its oplog application stage with a DuplicateKey error as described in SERVER-90669 (please refer to the description for a detailed explanation). This test must be modified to set the reshardingOplogBatchTaskCount to 1.