• Guido Trotter's avatar
    Add a few SharedLock delete() tests · 84152b96
    Guido Trotter authored
    - Check that even a shared acquire() fails on a deleted lock
    - Check that delete() fails on a lock you share (must own it or nothing)
    These are assumptions I build on in future code, so better check for them.
    Currently no code change is necessary for them to be valid.
    Reviewed-by: iustinp
ganeti.locking_unittest.py 7.68 KB