Skip to content

Commit c4c23e7

Browse files
committed
fixes leader-election e2e flakiness by relaxing timeout to 45s
1 parent 7592454 commit c4c23e7

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)