Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Version used: 1.0.2
What steps will reproduce the problem?
When using Android Test Orchestrator with a run listener, calling `getInstrumentation().sendStatus(REPORT_VALUE_RESULT_FAILURE, bundle);` in the Run Listener will not cause the test to fail. This happens when running instrumentation tests from the command line or android studio when using the Android Test Orchestrator.
Here is a sample repro:
To reproduce, call `./gradlew connectedCheck`. The tests will succeed, but should have failed.
What is the expected output? What do you see instead?
I expect the tests to fail when calling `getInstrumentation().sendStatus(REPORT_VALUE_RESULT_FAILURE, bundle);`.
Instead I see tests pass.
This is a refile this closed bug since it is still an issue: