Skip to content

Commit

Permalink
More robust maxclients test.
Browse files Browse the repository at this point in the history
  • Loading branch information
antirez committed Apr 18, 2012
1 parent a5f8341 commit 8ec9b03
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/unit/limits.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ start_server {tags {"limits"} overrides {maxclients 10}} {
catch {
while {$c < 50} {
incr c
redis_deferring_client
set rd [redis_deferring_client]
$rd ping
$rd read
after 100
}
} e
Expand Down

0 comments on commit 8ec9b03

Please sign in to comment.