• Oran Agra's avatar
    solve race conditions in tests (#13433) · 447ce11a
    Oran Agra authored
    [exception]: Executing test client: ERR FAILOVER target replica is not
    online.. ERR FAILOVER target replica is not online.
        while executing
    "$node_0 failover to $node_1_host $node_1_port"
        ("uplevel" body line 16)
        invoked from within
    "uplevel 1 $code"
        (procedure "test" line 58)
        invoked from within
    "test {failover command to specific replica works} {
    
    [err]: client evicted due to percentage of maxmemory in
    tests/unit/client-eviction.tcl
    Expected 33622 >= 220200 && 33622 < 440401 (context: type eval line 17
    cmd {assert {$tot_mem >= $n && $tot_mem < $maxmemory_clients_actual}}
    proc ::test)
    447ce11a
failover.tcl 10.1 KB