SERVER-134485ClosedFixed
QueuedAdmissionWithLargeMaxTimeMSSucceeds may start sleeping after mock clock is advanced, causing a hang
In SERVER-132777, we replaced the logic that checked to see if opCtx was currently waiting for interrupt with the more specific check on the AdmissionContext. However, this introduced a separate race, since the advancer thread may wake up before the request thread has actually computed its napTime in the RateLimiter. As a result, the request may compute a napTime with a deadline that is after the clock has been advanced, causing it to hang forever. To fix this, we should reintroduce the check