Tracing: Add log message for locks in store

This commit is contained in:
Artem Bilan
2016-08-22 19:29:11 -04:00
parent 9f40d896a2
commit 4f4bb18157

View File

@@ -289,6 +289,7 @@ public class RedisLockRegistryTests extends RedisAvailableTests {
assertNotNull(TestUtils.getPropertyValue(registry2, "hardThreadLocks", ThreadLocal.class).get());
latch2.await(10, TimeUnit.SECONDS);
locked.set(true);
logger.debug("Locks in store: " + registry2.listLocks());
}
catch (InterruptedException e) {
Thread.currentThread().interrupt();