Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
96aeca4b
Commit
96aeca4b
authored
Apr 17, 2012
by
antirez
Browse files
Less false positives in maxclients test, hopefully.
parent
59333ffd
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/unit/limits.tcl
View file @
96aeca4b
...
...
@@ -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