mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
Less false positives in maxclients test, hopefully.
This commit is contained in:
parent
93a74949d7
commit
0705ff3f04
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user