Skip to content

Commit 5b658cd

Browse files
authored
Merge pull request #1589 from yue9944882/flake/relax-leaderelection-e2e-timeout
Flake: Fixes leader-election e2e flakiness by relaxing timeout to 45s
2 parents 302c8dc + c4c23e7 commit 5b658cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

e2e/src/test/java/io/kubernetes/client/e2e/extended/leaderelection/LeaderElectorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ public void testMultiCandidateLeaderElection() throws Exception {
185185
Assert.assertEquals(1, stopBeingLeaderCount.get());
186186
}
187187

188-
@Test(timeout = 30000L)
188+
@Test(timeout = 45000L)
189189
public void testLeaderGracefulShutdown() throws Exception {
190190
CountDownLatch startBeingLeader1 = new CountDownLatch(1);
191191
CountDownLatch stopBeingLeader1 = new CountDownLatch(1);

0 commit comments

Comments
 (0)