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
Fix race condition in async task reschedule test (#137405)
When rescheduling a task, the task may begin running before the test is
able to take more actions. This means reseting the barriers in the auto
reschedule test may occur after the second run of the task has begun,
which results in a broken barrier.
This commit fixes the race condition by moving the reset of each barrier
to occur after the await for the relevant barrier. This ensures that
each barrier is ready to be awaited on again by the end of the run. Due
to there being two barriers, the second barrier may be reset after the
test codes second barrier1.await, but that is ok.
closes#131150
0 commit comments