mirror of
http://github.com/valkey-io/valkey
synced 2024-11-22 00:52:38 +00:00
add LFU policies to the test suite, just for coverage
This commit is contained in:
parent
3aa656abf5
commit
8aced9e9c5
@ -24,7 +24,7 @@ start_server {tags {"maxmemory"}} {
|
||||
}
|
||||
|
||||
foreach policy {
|
||||
allkeys-random allkeys-lru volatile-lru volatile-random volatile-ttl
|
||||
allkeys-random allkeys-lru allkeys-lfu volatile-lru volatile-lfu volatile-random volatile-ttl
|
||||
} {
|
||||
test "maxmemory - is the memory limit honoured? (policy $policy)" {
|
||||
# make sure to start with a blank instance
|
||||
@ -98,7 +98,7 @@ start_server {tags {"maxmemory"}} {
|
||||
}
|
||||
|
||||
foreach policy {
|
||||
volatile-lru volatile-random volatile-ttl
|
||||
volatile-lru volatile-lfu volatile-random volatile-ttl
|
||||
} {
|
||||
test "maxmemory - policy $policy should only remove volatile keys." {
|
||||
# make sure to start with a blank instance
|
||||
|
Loading…
Reference in New Issue
Block a user