From 1839461204da4fa8d0e97d1b6dc53d4d8f206c5d Mon Sep 17 00:00:00 2001 From: gtully Date: Fri, 29 Oct 2021 17:22:55 +0100 Subject: [PATCH] ARTEMIS-3489 - fix JdbcLeaseLockTest fails sporadically in CI --- .../artemis/core/server/impl/jdbc/JdbcLeaseLockTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artemis-server/src/test/java/org/apache/activemq/artemis/core/server/impl/jdbc/JdbcLeaseLockTest.java b/artemis-server/src/test/java/org/apache/activemq/artemis/core/server/impl/jdbc/JdbcLeaseLockTest.java index 1af070079f..84e4dc675f 100644 --- a/artemis-server/src/test/java/org/apache/activemq/artemis/core/server/impl/jdbc/JdbcLeaseLockTest.java +++ b/artemis-server/src/test/java/org/apache/activemq/artemis/core/server/impl/jdbc/JdbcLeaseLockTest.java @@ -248,7 +248,7 @@ public class JdbcLeaseLockTest extends ActiveMQTestBase { @Test public void shouldRenewExpiredLockNotAcquiredByOthers() throws InterruptedException { - final LeaseLock lock = lock(10); + final LeaseLock lock = lock(500); Assert.assertTrue("lock is not owned by anyone", lock.tryAcquire()); try { Thread.sleep(lock.expirationMillis() * 2);