• nitaicaro's avatar
    Fixed Tracking test “The other connection is able to get invalidations” (#7871) · 8fb89a57
    nitaicaro authored
    
    
    PROBLEM:
    
    [$rd1 read] reads invalidation messages one by one, so it's never going to see the second invalidation message produced after INCR b, whether or not it exists. Adding another read will block incase no invalidation message is produced.
    
    FIX:
    
    We switch the order of "INCR a" and "INCR b" - now "INCR b" comes first. We still only read the first invalidation message produces. If an invalidation message is wrongly produces for b - then it will be produced before that of a, since "INCR b" comes before "INCR a".
    Co-authored-by: default avatarNitai Caro <caronita@amazon.com>
    8fb89a57
tracking.tcl 4.99 KB