Skip to content

Mark flaky phar tests as xfail on macOS #15876

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

Closed
wants to merge 2 commits into from

Conversation

iluuu1994
Copy link
Member

Fixes GH-15748

@iluuu1994
Copy link
Member Author

iluuu1994 commented Sep 13, 2024

Marking these as xfail is actually a bit annoying, since they will succeed most of the time, and thus produce a warning. It might be better to add support for a conditional flaky using the SKIPIF section. We currently only support automatic flaky detection, and --FLAKY-- for the entire tests and all configurations.

@iluuu1994
Copy link
Member Author

This was very easy to implement, so I did it in this PR. I also restricted this check to GitHub Actions. If you can reproduce it locally, please get in touch!

@cmb69
Copy link
Member

cmb69 commented Sep 13, 2024

We currently only support automatic flaky detection, and --FLAKY-- for the entire tests and all configurations.

We should not rely on unofficial (i.e. undocumented) features, so php/web-qa#43. :)

Copy link
Member

@cmb69 cmb69 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I like that! :)

@iluuu1994 iluuu1994 closed this in 4e12189 Sep 13, 2024
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.

2 participants