Skip to content

Commit

Permalink
Enable retries for APP_CRASH results on iOS/AppleTV devices (#11689)
Browse files Browse the repository at this point in the history
Resolves #11690
  • Loading branch information
premun authored Nov 21, 2022
1 parent d79c02c commit c4cc09b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ def analyze_operation(command: str, platform: str, device: str, is_device: bool,

global retry, reboot, android_connectivity_verified

# Apps crashing can be infra failures, retry except on Apple devices where retries can be costly due to small queue size
if exit_code == 80 and not (platform == "apple" and is_device): # APP_CRASH
# Apps crashing can be infra failures too (this is a gray zone)
if exit_code == 80: # APP_CRASH
print(f' Application crashed - if persist, please investigate system logs from the run')
retry = True
reboot = True
Expand Down

0 comments on commit c4cc09b

Please sign in to comment.