From fd4bdbbdb9728e4b549f75e5be56b9d97d8242f9 Mon Sep 17 00:00:00 2001 From: vikram Date: Sun, 10 Nov 2024 09:24:21 +0530 Subject: [PATCH] diceConfig KeysLimit change for resp test server --- integration_tests/commands/resp/setup.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/integration_tests/commands/resp/setup.go b/integration_tests/commands/resp/setup.go index d912212db..7757e50f5 100644 --- a/integration_tests/commands/resp/setup.go +++ b/integration_tests/commands/resp/setup.go @@ -116,6 +116,8 @@ func fireCommandAndGetRESPParser(conn net.Conn, cmd string) *clientio.RESPParser func RunTestServer(wg *sync.WaitGroup, opt TestServerOptions) { config.DiceConfig.Network.IOBufferLength = 16 config.DiceConfig.Persistence.WriteAOFOnCleanup = false + + // #1261: Added here to prevent resp integration tests from failing on lower-spec machines config.DiceConfig.Memory.KeysLimit = 2000 if opt.Port != 0 { config.DiceConfig.AsyncServer.Port = opt.Port