%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/3/root/usr/src/redis-stable/tests/unit/
Upload File :
Create Path :
Current File : //proc/3/root/usr/src/redis-stable/tests/unit/limits.tcl

start_server {tags {"limits"} overrides {maxclients 10}} {
    test {Check if maxclients works refusing connections} {
        set c 0
        catch {
            while {$c < 50} {
                incr c
                set rd [redis_deferring_client]
                $rd ping
                $rd read
                after 100
            }
        } e
        assert {$c > 8 && $c <= 10}
        set e
    } {*ERR max*reached*}
}

Zerion Mini Shell 1.0