Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
c861e1e1
Commit
c861e1e1
authored
Apr 22, 2017
by
antirez
Browse files
Defrag: test currently disabled, too many false positives.
Related to #3786.
parent
a1739085
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/unit/memefficiency.tcl
View file @
c861e1e1
...
@@ -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
}
}
}
}
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment