Skip to content

Commit

Permalink
Update RedisLockTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
v1r3n committed Dec 19, 2023
1 parent 7dcb6c2 commit e8d17df
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,12 @@
import org.redisson.api.RLock;
import org.redisson.api.RedissonClient;
import org.redisson.config.Config;
import org.testcontainers.containers.*;

import com.netflix.conductor.redislock.config.RedisLockProperties;
import com.netflix.conductor.redislock.config.RedisLockProperties.REDIS_SERVER_TYPE;
import com.netflix.conductor.redislock.lock.RedisLock;

import org.testcontainers.containers.*;

import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.mockito.Mockito.mock;
Expand All @@ -39,8 +38,8 @@ public class RedisLockTest {
private static Config config;
private static RedissonClient redisson;

static GenericContainer redis = new GenericContainer("redis:5.0.3-alpine")
.withExposedPorts(6379);
static GenericContainer redis =
new GenericContainer("redis:5.0.3-alpine").withExposedPorts(6379);

@BeforeClass
public static void setUp() throws Exception {
Expand Down

0 comments on commit e8d17df

Please sign in to comment.