DisplaySizeTestRule timing out very often. Using DisplaySizeTestRule#withTimeout(timeout) does not help.
Device or Emulator: Emulator
API level: Any API level
AndroidUiTestingUtils version: 1.1.1
Affected Component: Activity (ONLY) -> DisplaySizeTestRule
Buggy Configuration: DisplaySizeTestRule
Expected behavior: It does not time out
Remarks:
It seems to be an issue with the context. Using instrumentation context seems to fix the issue.
Moreover, it seems that sometimes it hangs if the emulator does not have enough RAM (OOM exception).
DisplaySizeTestRule timing out very often. Using
DisplaySizeTestRule#withTimeout(timeout)
does not help.Device or Emulator: Emulator API level: Any API level AndroidUiTestingUtils version: 1.1.1 Affected Component: Activity (ONLY) -> DisplaySizeTestRule Buggy Configuration: DisplaySizeTestRule Expected behavior: It does not time out
Remarks: It seems to be an issue with the context. Using instrumentation context seems to fix the issue. Moreover, it seems that sometimes it hangs if the emulator does not have enough RAM (OOM exception).