Drain queues to avoid racism from test order unpredictability