ARTEMIS-3489 - fix JdbcLeaseLockTest fails sporadically in CI

This commit is contained in:
gtully 2021-10-29 17:22:55 +01:00 committed by Gary Tully
parent 72f9087c68
commit 1839461204
1 changed files with 1 additions and 1 deletions

View File

@ -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);