summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jstests/sharding/transactions_stale_shard_version_errors.js4
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);