Commit c861e1e1 authored by antirez's avatar antirez
Browse files

Defrag: test currently disabled, too many false positives.

Related to #3786.
parent a1739085
...@@ -36,7 +36,8 @@ start_server {tags {"memefficiency"}} { ...@@ -36,7 +36,8 @@ start_server {tags {"memefficiency"}} {
} }
} }
start_server {tags {"defrag"}} { if 0 {
start_server {tags {"defrag"}} {
if {[string match {*jemalloc*} [s mem_allocator]]} { if {[string match {*jemalloc*} [s mem_allocator]]} {
test "Active defrag" { test "Active defrag" {
r config set activedefrag no r config set activedefrag no
...@@ -80,4 +81,5 @@ start_server {tags {"defrag"}} { ...@@ -80,4 +81,5 @@ start_server {tags {"defrag"}} {
assert {$misses2 == $misses} assert {$misses2 == $misses}
} }
} }
}
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment