Skip to content

Commit

Permalink
make existing test case pass
Browse files Browse the repository at this point in the history
  • Loading branch information
hwware committed Dec 11, 2024
1 parent 1710f7a commit 22f52e5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/unit/maxmemory.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}

Expand Down Expand Up @@ -255,6 +256,7 @@ start_server {tags {"maxmemory external:skip"}} {
} else {
assert {$err == 1}
}
r config set maxmemory 0
}
}

Expand Down Expand Up @@ -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
}
}
}
Expand Down

0 comments on commit 22f52e5

Please sign in to comment.