Merge pull request #6479 from seakider/fix_RedissonLockTest

Fixed - Run RedissonLockTest.testLockUninterruptibly then run RedissonLockTest.testSubscriptionsPerConnection will test failed.
master
Nikita Koksharov 2 days ago committed by GitHub
commit 7338fc6ba6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -235,6 +235,8 @@ public class RedissonLockTest extends BaseConcurrentTest {
thread_2.interrupt(); // interrupte the thread-2 thread_2.interrupt(); // interrupte the thread-2
boolean res = latch.await(2, TimeUnit.SECONDS); boolean res = latch.await(2, TimeUnit.SECONDS);
assertThat(res).isFalse(); assertThat(res).isFalse();
latch.await();
} }
@Test @Test

Loading…
Cancel
Save