• debing.sun's avatar
    Avoid starting defrag after config resetstat for defrag test (#13399) · d39548c8
    debing.sun authored
    
    
    If `config resetstat` is executed and a defrag is started after it, the
    `total_active_defrag_time` will not be 0.
    When we start the defrag again, we will skip the following steps:
    1. waiting for the defrag to start. (s total_active_defrag_time is equal
    0)
    2. waiting for the test to complete. (active_defrag_running is euqal 0)
    which result in the test failed.
    
    ---------
    Co-authored-by: default avataroranagra <oran@redislabs.com>
    d39548c8
memefficiency.tcl 33.5 KB