Skip to content

Commit

Permalink
client: ignore retry param for MISSING WID ERROR
Browse files Browse the repository at this point in the history
There is no point in repeating test case if MISSING WID ERROR is returned.
  • Loading branch information
piotrnarajowski committed Nov 14, 2024
1 parent 65092c6 commit 3c1fbd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autopts/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1280,7 +1280,7 @@ def run_test_cases(ptses, test_case_instances, args, stats, **kwargs):
if repeat_until_failed and status == 'PASS':
continue

if (status == 'PASS' and not args.stress_test) or \
if (status in ('PASS', 'MISSING WID ERROR') and not args.stress_test) or \
stats.run_count == retry_limit:
if stats.db:
stats.db.update_statistics(test_case, duration, status)
Expand Down

0 comments on commit 3c1fbd2

Please sign in to comment.