You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(scan): make the stale-scan regression test deterministic
lookup() hops through the real Dispatchers.IO, so the virtual test scheduler
cannot guarantee scan A parks in runAffinity before scan B is submitted. When
B landed first it cancelled A before A ever called runAffinity, and B itself
became call #1 and parked on the gate — an intermittent hang/failure. Scan A
now signals when it enters runAffinity and the test awaits that signal before
submitting B, so B can only ever supersede A. No production change.
0 commit comments