• Oran Agra's avatar
    Fix race in new lazyfree test (#8965) · d67e66de
    Oran Agra authored
    I recently saw this failure:
    [err]: lazy free a stream with all types of metadata in tests/unit/lazyfree.tcl
    Expected '2' to be equal to '1' (context: type eval line 23 cmd {assert_equal [s lazyfreed_objects] 1} proc ::test)
    
    The only explanation for such a thing is that the async flushdb wasn't
    done before we did the resetstat
    d67e66de
lazyfree.tcl 2.69 KB