Make race wakeup test function.