SERVER-54826 Prevent concurrent elections in txn_two_phase_commit_wait_for_majority_commit_after_stepup.js

This commit is contained in:
Jason Chan 2021-02-26 20:54:04 +00:00 committed by Evergreen Agent
parent 33a8c0755e
commit fae0542f9f
1 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ const ns = dbName + "." + collName;
let st = new ShardingTest({
shards: 3,
rs0: {nodes: 2},
rs0: {nodes: [{}, {rsConfig: {priority: 0}}]},
causallyConsistent: true,
other: {
mongosOptions: {verbose: 3},
@ -104,7 +104,7 @@ assert.commandWorked(coordPrimary.adminCommand({replSetStepDown: stepDownSecs, f
failPoint.off();
// The router should retry commitTransaction against the new primary and time out waiting to
// The router should retry commitTransaction against the primary and time out waiting to
// access the coordinator catalog.
awaitResult();