diff options
author | Oran Agra <oran@monfort.co.il> | 2017-03-15 01:05:15 -0700 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2017-03-22 10:14:36 +0100 |
commit | 8aced9e9c53d85ba90a448b94c5abf142bcf960b (patch) | |
tree | a80d12c304b93e714c628942bd3b8065ecbd2fe6 | |
parent | 3aa656abf541e392e006ce9ced17686316841318 (diff) | |
download | redis-8aced9e9c53d85ba90a448b94c5abf142bcf960b.tar.gz |
add LFU policies to the test suite, just for coverage
-rw-r--r-- | tests/unit/maxmemory.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/maxmemory.tcl b/tests/unit/maxmemory.tcl index e6bf7860c..0c3f6b32c 100644 --- a/tests/unit/maxmemory.tcl +++ b/tests/unit/maxmemory.tcl @@ -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 |