mirror of
https://github.com/status-im/status-mobile.git
synced 2025-01-10 16:56:31 +00:00
e32ce7af68
rerun_count=0 by default
14 lines
421 B
Python
14 lines
421 B
Python
RERUN_ERRORS = [
|
|
'Original error: Error: ESOCKETTIMEDOUT',
|
|
"The server didn't respond in time.",
|
|
'An unknown server-side error occurred while processing the command.',
|
|
'Could not proxy command to remote server. Original error: Error: socket hang up'
|
|
]
|
|
|
|
|
|
def should_rerun_test(test_error):
|
|
for rerun_error in RERUN_ERRORS:
|
|
if rerun_error in test_error:
|
|
return True
|
|
return False
|