Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TestCase::executeCliCommand(): retry Composer commands on a particular exception #164

Merged
merged 1 commit into from Mar 5, 2022

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Mar 5, 2022

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.

…r 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.
@Potherca Potherca enabled auto-merge March 5, 2022 13:29
@Potherca Potherca merged commit 31b67dc into master Mar 5, 2022
@Potherca Potherca deleted the feature/tests-retry-composer-install-on-failure branch March 5, 2022 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants