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 deadlock in espresso in Robolectric INSTRUMENTATION_TEST + paused looper.
When running tests in Robolectric's INSTRUMENTATION_TEST LooperMode
and explicitly pausing the main looper, Espresso will deadlock if part of its
AsyncTask initialization occurs on the test thread.
Fix this by adding a call to explict call to ControlledLooper.drainMainThreadWhenIdle.
PiperOrigin-RevId: 704231969
0 commit comments