refactoring

pull/5679/head
Nikita Koksharov 11 months ago
parent 1ad1c33d95
commit 4393e0c3b4

@ -370,7 +370,6 @@ public class RedissonRemoteServiceTest extends RedisDockerTest {
RedissonClient r1 = createInstance();
AtomicInteger iterations = new AtomicInteger();
ExecutorService executor = Executors.newSingleThreadExecutor();
r1.getKeys().flushall();
r1.getRemoteService().register(RemoteInterface.class, new RemoteImpl(iterations), 1, executor);
RedissonClient r2 = createInstance();
@ -394,7 +393,6 @@ public class RedissonRemoteServiceTest extends RedisDockerTest {
RedissonReactiveClient r1 = Redisson.create(createConfig()).reactive();
AtomicInteger iterations = new AtomicInteger();
ExecutorService executor = Executors.newSingleThreadExecutor();
r1.getKeys().flushall();
r1.getRemoteService().register(RemoteInterface.class, new RemoteImpl(iterations), 1, executor);
RedissonReactiveClient r2 = Redisson.create(createConfig()).reactive();

Loading…
Cancel
Save