diff --git a/tests/unit/maxmemory.tcl b/tests/unit/maxmemory.tcl index b333be5037..b1042f357f 100644 --- a/tests/unit/maxmemory.tcl +++ b/tests/unit/maxmemory.tcl @@ -213,6 +213,7 @@ start_server {tags {"maxmemory external:skip"}} { r setex [randomKey] 10000 x } assert {[s used_memory] < ($limit+4096)} + r config set maxmemory 0 } } @@ -255,6 +256,7 @@ start_server {tags {"maxmemory external:skip"}} { } else { assert {$err == 1} } + r config set maxmemory 0 } } @@ -300,6 +302,7 @@ start_server {tags {"maxmemory external:skip"}} { for {set j 0} {$j < $numkeys} {incr j 2} { assert {[r exists "key:$j"]} } + r config set maxmemory 0 } } }