• Oran Agra's avatar
    Try to fix a race in psync2 test (#11553) · 0a3ae0f0
    Oran Agra authored
    This test sets the master ping interval to 1 hour, in order to avoid
    pings in the replicatoin stream incrementing the replication offset,
    however, it didn't increase the repl-timeout so on slow machines
    where the test took more than 60 seconds, the replicas would drop
    and reconnect.
    
    ```
    *** [err]: PSYNC2: Partial resync after restart using RDB aux fields in tests/integration/psync2.tcl
    Replica didn't partial sync
    ```
    
    The test would detect 4 additional partial syncs where it expects
    only one.
    
    (cherry picked from commit b0250b45)
    0a3ae0f0
psync2.tcl 14.7 KB