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
When Robolectric test is run on another thread (for example due to JUnit's timeout feature), Looper.getMainLooper() will stay on current thread. This causes issues with libraries that check and throw exception if any code is run on non-main thread (for example LiveData.setValue() from android architecture components breaks).