Skip to content

Commit 0e84f3b

Browse files
committed
fix wrong redis client properties in a test
1 parent 293c274 commit 0e84f3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/com/jupitertools/springtestredis/RedisTestContainerCustomHostPortTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ class RedisTestContainerCustomHostPortTest {
2222
@BeforeEach
2323
void setUp() {
2424
redisClient =
25-
RedissonClientFactory.getClient(System.getProperty("my.host"),
26-
System.getProperty("my.port"));
25+
RedissonClientFactory.getClient(System.getProperty("my.second.host"),
26+
System.getProperty("my.second.port"));
2727
}
2828

2929
@Test

0 commit comments

Comments
 (0)