Skip to content

Instantly share code, notes, and snippets.

@AaronMT
Created March 13, 2019 21:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AaronMT/7a4b45667c0c31ee6bcee8e3d6c54c01 to your computer and use it in GitHub Desktop.
Save AaronMT/7a4b45667c0c31ee6bcee8e3d6c54c01 to your computer and use it in GitHub Desktop.
``java
org.mozilla.tv.firefox.integration.LiveDataCombineLatestTest:.
03-13 12:29:21.570 Error in WHEN_the_first_source_never_emits_THEN_the_result_should_never_emit(org.mozilla.tv.firefox.integration.LiveDataCombineLatestTest):
03-13 12:29:21.570 java.lang.RuntimeException: Could not launch intent Intent { act=android.intent.action.MAIN flg=0x14000000 cmp=org.mozilla.tv.firefox.debug/org.mozilla.tv.firefox.MainActivity } within 45 seconds. Perhaps the main thread has not gone idle within a reasonable amount of time? There could be an animation or something constantly repainting the screen. Or the activity is doing network calls on creation? See the threaddump logs. For your reference the last time the event queue was idle before your activity launch request was 1552505316538 and now the last time the queue went idle was: 1552505316538. If these numbers are the same your activity might be hogging the event queue.
03-13 12:29:21.570 at androidx.test.runner.MonitoringInstrumentation.startActivitySync(MonitoringInstrumentation.java:453)
03-13 12:29:21.570 at androidx.test.rule.ActivityTestRule.launchActivity(ActivityTestRule.java:358)
03-13 12:29:21.570 at androidx.test.rule.ActivityTestRule$ActivityStatement.evaluate(ActivityTestRule.java:529)
03-13 12:29:21.570 at org.junit.rules.RunRules.evaluate(RunRules.java:20)
03-13 12:29:21.570 at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
03-13 12:29:21.570 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
03-13 12:29:21.570 at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
03-13 12:29:21.570 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
03-13 12:29:21.570 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
03-13 12:29:21.570 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
03-13 12:29:21.570 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
03-13 12:29:21.570 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
03-13 12:29:21.570 at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
03-13 12:29:21.570 at org.junit.runners.Suite.runChild(Suite.java:128)
03-13 12:29:21.570 at org.junit.runners.Suite.runChild(Suite.java:27)
03-13 12:29:21.570 at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
03-13 12:29:21.570 at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
03-13 12:29:21.570 at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
03-13 12:29:21.571 at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
03-13 12:29:21.571 at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
03-13 12:29:21.571 at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
03-13 12:29:21.571 at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
03-13 12:29:21.571 at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
03-13 12:29:21.571 at androidx.test.internal.runner.TestExecutor.execute(TestExecutor.java:56)
03-13 12:29:21.571 at androidx.test.runner.AndroidJUnitRunner.onStart(AndroidJUnitRunner.java:388)
03-13 12:29:21.571 at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1937)
03-13 12:30:07.874
03-13 12:30:07.874 Error in WHEN_both_sources_emit_THEN_the_result_should_emit_pairs(org.mozilla.tv.firefox.integration.LiveDataCombineLatestTest):
03-13 12:30:07.874 Test instrumentation process crashed. Check org.mozilla.tv.firefox.integration.LiveDataCombineLatestTest#WHEN_both_sources_emit_THEN_the_result_should_emit_pairs.txt for details
03-13 12:30:39.372 .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment