JAVA-20164 Add missing dependency (#14137)
* JAVA-20164 Add missing dependency * JAVA-20164 Fix redis config file error maxheap --------- Co-authored-by: timis1 <noreplay@yahoo.com>
This commit is contained in:
parent
bb4c9bd411
commit
ad2e59fb47
|
@ -69,6 +69,11 @@
|
|||
<artifactId>javax.annotation-api</artifactId>
|
||||
<version>${javax.annotation.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>mysql</groupId>
|
||||
<artifactId>mysql-connector-java</artifactId>
|
||||
<version>${mysql.version}</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
@ -130,6 +135,7 @@
|
|||
<h2.version>2.1.214</h2.version>
|
||||
<jakarta.xml.bind-api.version>4.0.0</jakarta.xml.bind-api.version>
|
||||
<javax.annotation.version>1.3.2</javax.annotation.version>
|
||||
<mysql.version>8.0.33</mysql.version>
|
||||
</properties>
|
||||
|
||||
</project>
|
|
@ -38,7 +38,7 @@ public class JedisIntegrationTest {
|
|||
|
||||
redisServer = RedisServer.builder()
|
||||
.port(port)
|
||||
.setting("maxheap 128M")
|
||||
.setting("maxmemory 128M")
|
||||
.build();
|
||||
redisServer.start();
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ public class RedissonConfigurationIntegrationTest {
|
|||
|
||||
redisServer = RedisServer.builder()
|
||||
.port(port)
|
||||
.setting("maxheap 128M")
|
||||
.setting("maxmemory 128M")
|
||||
.build();
|
||||
redisServer.start();
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@ public class RedissonIntegrationTest {
|
|||
public static void setUp() {
|
||||
redisServer = RedisServer.builder()
|
||||
.port(6379)
|
||||
.setting("maxheap 128M")
|
||||
.setting("maxmemory 128M")
|
||||
.build();
|
||||
redisServer.start();
|
||||
client = Redisson.create();
|
||||
|
|
|
@ -25,7 +25,7 @@ public class DeleteEverythingInRedisIntegrationTest {
|
|||
|
||||
redisServer = RedisServer.builder()
|
||||
.port(port)
|
||||
.setting("maxheap 128M")
|
||||
.setting("maxmemory 128M")
|
||||
.build();
|
||||
redisServer.start();
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ public class NaiveApproachIntegrationTest {
|
|||
|
||||
redisServer = RedisServer.builder()
|
||||
.port(port)
|
||||
.setting("maxheap 128M")
|
||||
.setting("maxmemory 128M")
|
||||
.build();
|
||||
}
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ public class ScanStrategyIntegrationTest {
|
|||
|
||||
redisServer = RedisServer.builder()
|
||||
.port(port)
|
||||
.setting("maxheap 128M")
|
||||
.setting("maxmemory 128M")
|
||||
.build();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue