Search RU

A day in QA Lab

One task, one case and one question. The same for everyone until midnight.

01 · task

Pipeline stage order

CI/CD · senior · hard

Open task →

03 · question

How do you reproduce a deadlock in a test?

Senior · concurrency

Show answer

Control the lock acquisition order with two transactions

A deterministic acquisition order makes the deadlock reproducible.

Want the full scenario? Start the track.