Warning · Test quality
Both counts stay zero if the installer creates a stage before trying the lock and deletes it before returning the expected error.
Impact
The test passes even though the competing installer wrote staged bytes without holding the lock.
Recommended action
Instrument stage creation and assert it is never attempted during the contested call.