• Oran Agra's avatar
    solve test timing issues in replication tests (#9121) · d0819d61
    Oran Agra authored
    # replication-3.tcl
    had a test timeout failure with valgrind on daily CI:
    ```
    *** [err]: SLAVE can reload "lua" AUX RDB fields of duplicated scripts in tests/integration/replication-3.tcl
    Replication not started.
    ```
    replication took more than 70 seconds.
    https://github.com/redis/redis/runs/2854037905?check_suite_focus=true
    
    on my machine it takes only about 30, but i can see how 50 seconds isn't enough.
    
    # replication.tcl
    loading was over too quickly in freebsd daily CI:
    ```
    *** [err]: slave fails full sync and diskless load swapdb recovers it in tests/integration/replication.tcl
    Expected '0' to be equal to '1' (context: type eval line 44 cmd {assert_equal [s -1 loading] 1} proc ::start_server)
    ```
    
    # rdb.tcl
    loading was over too quickly.
    increase the time loading takes, and decrease the amount of work we try to achieve in that time.
    d0819d61
rdb.tcl 10.8 KB