Warning · Test quality
Impact
The test passes even if the losing installer writes executable bytes while another process holds the lock.
Recommended action
Instrument the staged-file creation operation and assert it is never called during the contested install.