diff options
author | Oran Agra <oran@monfort.co.il> | 2017-03-15 01:05:15 -0700 |
---|---|---|
committer | Oran Agra <oran@monfort.co.il> | 2017-03-15 01:05:15 -0700 |
commit | 4acb4da1d13a522c1c4e03bd4c5cab3c3b0c7724 (patch) | |
tree | a129c64777acbfd16128b63b311288b8477c7593 /tests | |
parent | a62f786344d894b7447c3d3de6422cab6798c392 (diff) | |
download | redis-4acb4da1d13a522c1c4e03bd4c5cab3c3b0c7724.tar.gz |
add LFU policies to the test suite, just for coverage
Diffstat (limited to 'tests')
-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 |