diff --git a/spring-integration-jdbc/src/test/java/org/springframework/integration/jdbc/leader/JdbcLockRegistryLeaderInitiatorTests.java b/spring-integration-jdbc/src/test/java/org/springframework/integration/jdbc/leader/JdbcLockRegistryLeaderInitiatorTests.java index 22134f94a4..6c325aa44a 100644 --- a/spring-integration-jdbc/src/test/java/org/springframework/integration/jdbc/leader/JdbcLockRegistryLeaderInitiatorTests.java +++ b/spring-integration-jdbc/src/test/java/org/springframework/integration/jdbc/leader/JdbcLockRegistryLeaderInitiatorTests.java @@ -184,7 +184,7 @@ public class JdbcLockRegistryLeaderInitiatorTests { destroy(); - assertThat(countingPublisher.revoked.await(10, TimeUnit.SECONDS)).isTrue(); + assertThat(countingPublisher.revoked.await(20, TimeUnit.SECONDS)).isTrue(); granted = new CountDownLatch(1); countingPublisher = new CountingPublisher(granted);