• Kirill Smelkov's avatar
    X Fix race in test · 996dc6a8
    Kirill Smelkov authored
    _blkaccess was called after send to have_read, thus a user could be
    woken up before the block was actually marked as accessed and so
    there is a window while _pinnedAt will return wrong data due to having
    stale accessed set.
    
    The bug was showing itself as assert happening from time to time
    seldomly on e.g. `assert w.pinned = pin_prev` in watch.
    996dc6a8
wcfs_test.py 62 KB