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
Summary: The SingleMockThreadScheduler has a background thread that runs jobs. So it's possible for our assertion on number of jobs done to be racy and fail the test. The changes now will explicitly wait until all jobs have completed in the scheduler before checking, which eliminates the race.
Reviewed By: haowu14
Differential Revision: D47580097
fbshipit-source-id: adc3474d384e9fc3755371c584d3f665305a279e
0 commit comments