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
fcdeb985
Commit
fcdeb985
authored
Feb 22, 2012
by
antirez
Browse files
even less false positive on obuf-limits test.
parent
467d703e
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/unit/obuf-limits.tcl
View file @
fcdeb985
...
@@ -15,7 +15,7 @@ start_server {tags {"obuf-limits"}} {
...
@@ -15,7 +15,7 @@ start_server {tags {"obuf-limits"}} {
if
{
!
[
regexp
{
omem=
([
0-9
]
+
)}
$c - omem
]}
break
if
{
!
[
regexp
{
omem=
([
0-9
]
+
)}
$c - omem
]}
break
if
{
$omem
> 200000
}
break
if
{
$omem
> 200000
}
break
}
}
assert
{
$omem
>= 99
97
0 && $omem < 200000
}
assert
{
$omem
>= 99
00
0 && $omem < 200000
}
$rd1 close
$rd1 close
}
}
...
...
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