diff options
author | Esha Maharishi <esha.maharishi@mongodb.com> | 2019-07-30 09:24:28 -0400 |
---|---|---|
committer | Esha Maharishi <esha.maharishi@mongodb.com> | 2019-07-30 09:24:28 -0400 |
commit | 421c6e8669d5c1a741346541a23c680f6b05770e (patch) | |
tree | 9c44c6d5d59e25894a9b94c1f438b8bd9de15185 /jstests/sharding | |
parent | a891b95cca6679ee710ac81c6a2d32fa0abb3853 (diff) | |
download | mongo-421c6e8669d5c1a741346541a23c680f6b05770e.tar.gz |
Revert "SERVER-42214 Increase stepdown timeout in txn_commit_optimizations_for_read_only_shards.js"
This reverts commit d67a55adfcdf93a8390a5f4e424d19ba26c6bba9.
Diffstat (limited to 'jstests/sharding')
-rw-r--r-- | jstests/sharding/txn_commit_optimizations_for_read_only_shards.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/sharding/txn_commit_optimizations_for_read_only_shards.js b/jstests/sharding/txn_commit_optimizations_for_read_only_shards.js index 6db53e157c8..fc6137f2ff7 100644 --- a/jstests/sharding/txn_commit_optimizations_for_read_only_shards.js +++ b/jstests/sharding/txn_commit_optimizations_for_read_only_shards.js @@ -216,7 +216,7 @@ const failureModes = { beforeCommit: () => { // Participant primary steps down. assert.commandWorked( - st.shard0.adminCommand({replSetStepDown: 60 /* stepDownSecs */, force: true})); + st.shard0.adminCommand({replSetStepDown: 1 /* stepDownSecs */, force: true})); }, getCommitCommand: (lsid, txnNumber) => { return addTxnFields(defaultCommitCommand, lsid, txnNumber); |