Skip to content

Commit 394d34a

Browse files
authored
Merge pull request #235 from ml054/v4.2
increase cluster election timeout
2 parents 6ae056c + 0366663 commit 394d34a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/Utils/TestUtil.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,11 @@ export class ClusterTestContext extends RavenTestDriver implements IDisposable {
437437
const cluster = new ClusterController();
438438
cluster.nodes = [];
439439

440+
customSettings = {
441+
"Cluster.ElectionTimeoutInMs": "3000",
442+
...customSettings
443+
}
444+
440445
const allowedNodeTags = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"];
441446

442447
let leaderIndex = 0;

0 commit comments

Comments
 (0)