Fixed the Max Memory Limit for the Embedded Redis Server
This commit is contained in:
@@ -38,7 +38,7 @@ public class RedisKeyCommandsIntegrationTest {
|
|||||||
|
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void startRedisServer() throws IOException {
|
public static void startRedisServer() throws IOException {
|
||||||
redisServer = new RedisServerBuilder().port(6379).setting("maxheap 256M").build();
|
redisServer = new RedisServerBuilder().port(6379).setting("maxmemory 256M").build();
|
||||||
redisServer.start();
|
redisServer.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ public class RedisTemplateListOpsIntegrationTest {
|
|||||||
|
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void startRedisServer() throws IOException {
|
public static void startRedisServer() throws IOException {
|
||||||
redisServer = new RedisServerBuilder().port(6379).setting("maxheap 128M").build();
|
redisServer = new RedisServerBuilder().port(6379).setting("maxmemory 128M").build();
|
||||||
redisServer.start();
|
redisServer.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ public class RedisTemplateValueOpsIntegrationTest {
|
|||||||
|
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void startRedisServer() throws IOException {
|
public static void startRedisServer() throws IOException {
|
||||||
redisServer = new RedisServerBuilder().port(6379).setting("maxheap 256M").build();
|
redisServer = new RedisServerBuilder().port(6379).setting("maxmemory 256M").build();
|
||||||
redisServer.start();
|
redisServer.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ public class RedisMessageListenerIntegrationTest {
|
|||||||
|
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void startRedisServer() throws IOException {
|
public static void startRedisServer() throws IOException {
|
||||||
redisServer = new RedisServerBuilder().port(6379).setting("maxheap 256M").build();
|
redisServer = new RedisServerBuilder().port(6379).setting("maxmemory 256M").build();
|
||||||
redisServer.start();
|
redisServer.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ public class StudentRepositoryIntegrationTest {
|
|||||||
|
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void startRedisServer() throws IOException {
|
public static void startRedisServer() throws IOException {
|
||||||
redisServer = new RedisServerBuilder().port(6379).setting("maxheap 128M").build();
|
redisServer = new RedisServerBuilder().port(6379).setting("maxmemory 128M").build();
|
||||||
redisServer.start();
|
redisServer.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user