Commit 3aa1abe
committed
Fix edge case where failures are not counted
This is a weird one. If a non-retriable and retriable test fail in the
same job, and the retry either succeeds or is skipped, the non-retriable
failure is lost from the count causing origin to exit 0. There was a
hard assumption retries always happened, so this was an existing bug in
the logic that never manifested because retries were always on in our
suites.
The JUnit was correct; this only affected exit counts causing the job to "pass."1 parent 867bce8 commit 3aa1abe
1 file changed
+26
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
565 | 565 | | |
566 | 566 | | |
567 | 567 | | |
568 | | - | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
569 | 581 | | |
570 | 582 | | |
571 | 583 | | |
| |||
579 | 591 | | |
580 | 592 | | |
581 | 593 | | |
582 | | - | |
583 | 594 | | |
| 595 | + | |
584 | 596 | | |
585 | 597 | | |
586 | | - | |
| 598 | + | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
587 | 610 | | |
588 | 611 | | |
589 | | - | |
590 | 612 | | |
591 | 613 | | |
592 | 614 | | |
| |||
0 commit comments