提交 2d24e033 编写于 作者: W wuqian30624

Add testcase

Signed-off-by: Nwuqian30624 <wuqian0808@me.com>
上级 ece80f36
......@@ -936,9 +936,9 @@ public class RedissonFairLockTest extends BaseConcurrentTest {
@Test
public void testLockBlock() throws InterruptedException{
Config cfg = createConfig();
cfg.useSingleServer().setSubscriptionsPerConnection(100);
RedissonClient redisson = Redisson.create(cfg);
cfg.setLockWatchdogTimeout(30000);
RedissonClient redisson = Redisson.create(cfg);
int totalExecutorCount = 5;
int totalThreadCount = 100;
int interval = 1000;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册