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:
timis1 2023-06-02 23:07:07 +03:00 committed by GitHub
parent bb4c9bd411
commit ad2e59fb47
7 changed files with 12 additions and 6 deletions

View File

@ -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>

View File

@ -38,7 +38,7 @@ public class JedisIntegrationTest {
redisServer = RedisServer.builder()
.port(port)
.setting("maxheap 128M")
.setting("maxmemory 128M")
.build();
redisServer.start();

View File

@ -34,7 +34,7 @@ public class RedissonConfigurationIntegrationTest {
redisServer = RedisServer.builder()
.port(port)
.setting("maxheap 128M")
.setting("maxmemory 128M")
.build();
redisServer.start();
}

View File

@ -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();

View File

@ -25,7 +25,7 @@ public class DeleteEverythingInRedisIntegrationTest {
redisServer = RedisServer.builder()
.port(port)
.setting("maxheap 128M")
.setting("maxmemory 128M")
.build();
redisServer.start();

View File

@ -27,7 +27,7 @@ public class NaiveApproachIntegrationTest {
redisServer = RedisServer.builder()
.port(port)
.setting("maxheap 128M")
.setting("maxmemory 128M")
.build();
}

View File

@ -33,7 +33,7 @@ public class ScanStrategyIntegrationTest {
redisServer = RedisServer.builder()
.port(port)
.setting("maxheap 128M")
.setting("maxmemory 128M")
.build();
}