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
0705ff3f
Commit
0705ff3f
authored
Apr 17, 2012
by
antirez
Browse files
Less false positives in maxclients test, hopefully.
parent
93a74949
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/unit/limits.tcl
View file @
0705ff3f
...
...
@@ -2,9 +2,10 @@ start_server {tags {"limits"} overrides {maxclients 10}} {
test
{
Check if maxclients works refusing connections
}
{
set c 0
catch
{
while
1
{
while
{
$c
< 50
}
{
incr c
redis_deferring_client
after 100
}
}
e
assert
{
$c
> 8 && $c <= 10
}
...
...
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