Skip to content

Commit f7a9269

Browse files
committed
Update testcase.py
1 parent 6733c1b commit f7a9269

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

bin/testcase.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -414,10 +414,8 @@ def _run_validators(
414414
issues.append("All validators accepted.")
415415
elif ExecStatus.REJECTED not in results:
416416
issues.append(f"At least one validator must exit with {config.RTV_WA}.")
417-
else:
418-
if ExecStatus.TIMEOUT in results:
419-
issues.append("Validator timed out.")
420-
# Output validators should _never_ crash, so this should not be inside the 'else'?
417+
elif ExecStatus.TIMEOUT in results:
418+
issues.append("Validator timed out.")
421419
if output_validator_crash:
422420
issues.append("Output Validator crashed.")
423421

0 commit comments

Comments
 (0)