diff options
author | Marcos Jose Grillo Ramirez <marcos.grillo@mongodb.com> | 2021-11-11 10:05:18 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-11-12 16:43:32 +0000 |
commit | d45c116321f1599c20313546cefedb749cf7c866 (patch) | |
tree | e54f559c2d759a76e74e23a5af09906d9375bab5 /jstests | |
parent | 3ca34ca0320609fe62e4af461342d478247bce85 (diff) | |
download | mongo-d45c116321f1599c20313546cefedb749cf7c866.tar.gz |
SERVER-61208 Prevent transactions_stale_shard_version_errors.js test from running in suites with the balancer enabled
(cherry picked from commit a32f6ee11e6e4c58cba7a009214ed82b8b5b55e7)
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/sharding/transactions_stale_shard_version_errors.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/jstests/sharding/transactions_stale_shard_version_errors.js b/jstests/sharding/transactions_stale_shard_version_errors.js index 78fd7c970b8..adcce854ef9 100644 --- a/jstests/sharding/transactions_stale_shard_version_errors.js +++ b/jstests/sharding/transactions_stale_shard_version_errors.js @@ -4,6 +4,7 @@ // requires_sharding, // uses_transactions, // uses_multi_shard_transaction, +// assumes_balancer_off // ] (function() { "use strict"; @@ -31,7 +32,8 @@ const nodeOptions = { setParameter: {enableShardedIndexConsistencyCheck: false} }; -const st = new ShardingTest({shards: 3, mongos: 2, other: {configOptions: nodeOptions}}); +const st = new ShardingTest( + {shards: 3, mongos: 2, other: {configOptions: nodeOptions, enableBalancer: false}}); enableStaleVersionAndSnapshotRetriesWithinTransactions(st); |