Closed ravimandala closed 4 years ago
This would work well for us 👍
@ravimandala this is already fixed in master right? Would it be worth adding something in the docs that mention that not retrying on app crashes is by design and not an omission?
@ob This is not fixed in master
yet. I will implement it and update the documentation.
Implemented and included in v5.4.1 (and above).
When the app crashes during a test, Bluepill fails the execution by returning a failure exit code
BPExitStatusAppCrashed = 7
, even if the test passes on retry. But if a test times out and passes on retry (and no other app crash related failures), Bluepill deems it to be okay by returning an exit status ofBPExitStatusTestsAllPassed = 0
.In summary, App times out and passes on retry ==> Bluepill passes the execution. App crashes and passes on retry ==> Bluepill fails the execution. This is confusing.
Proposal: How about we keep the end result as-is but not retry test that crashed the app? \cc @ob