Skip to content

Commit

Permalink
Merge pull request #893 from MarathonLabs/fix/android-remote-test-par…
Browse files Browse the repository at this point in the history
…ser-crash

fix(android): support recovery of am test parser in case process cras…
  • Loading branch information
Malinskiy authored Feb 7, 2024
2 parents ab1920a + 9196b30 commit 379a9a3
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,14 @@ class AmInstrumentTestParser(
}
}

is TestRunFailed -> Unit
is TestRunFailed -> {
//Happens on Android Wear if classpath is misconfigured
if (event.error.contains("Process crashed")) {
throw TestAnnotationProducerNotFoundException()
}
}
is TestRunStopped -> Unit
is TestRunEnded -> Unit

}
}
}
Expand Down

0 comments on commit 379a9a3

Please sign in to comment.