Closed jrfnl closed 2 years ago
Retry Composer commands on a particular exception as otherwise a complete build may fail, while the failure is not related to an actual test failure,
I've seen this particular issue a couple of times in test runs (most typically with the problematic Composer v1 / PHP 5.5 / Windows combination).
Adding a one-time only retry of a command run and only for that particular issue should prevent having to re-run a complete build for this.
Proposed Changes
Retry Composer commands on a particular exception as otherwise a complete build may fail, while the failure is not related to an actual test failure,
I've seen this particular issue a couple of times in test runs (most typically with the problematic Composer v1 / PHP 5.5 / Windows combination).
Adding a one-time only retry of a command run and only for that particular issue should prevent having to re-run a complete build for this.