• Guido Trotter's avatar
    SharedLock: fix a wrong unit-test helper code · 4354ab03
    Guido Trotter authored
    The _doItDelete helper code was supposed to be used to dispatch threads that
    deleted the SharedLock. It actually just acquired it exclusively. This remained
    unnoticed as the helper thread is just used to test interaction, not the delete
    code by itself, and delete requires an exclusive acquire anyway.
    Reviewed-by: imsnah
ganeti.locking_unittest.py 7.5 KB