Warning · Test quality
Impact
The test can miss removal of the registration lock. Even after the foreign waiter is removed, the attempted loop's binding prevents reuse on another loop.
Recommended action
Pause the first registration inside the critical section and use an instrumented lock to verify that the second attempts acquisition before the first resumes.