Skip to content

Fix flaky tests due to changing download URL#277

Merged
swissspidy merged 3 commits intomainfrom
fix/flaky-test
Dec 20, 2024
Merged

Fix flaky tests due to changing download URL#277
swissspidy merged 3 commits intomainfrom
fix/flaky-test

Conversation

@swissspidy
Copy link
Member

This is a follow-up to #272 where I previously tried to change the expected download URL for major/minor versions.

However this sometimes seems to change and thus tests fail.

This switches to a regex-based approach that matches both download URL patterns, https://downloads.w.org/release/... and https://downloads.wordpress.org/release/...

@swissspidy swissspidy added the scope:testing Related to testing label Dec 18, 2024
@swissspidy swissspidy added this to the 2.1.19 milestone Dec 18, 2024
@swissspidy swissspidy requested a review from a team as a code owner December 18, 2024 08:43
@swissspidy swissspidy marked this pull request as ready for review December 20, 2024 09:58
@swissspidy
Copy link
Member Author

@wp-cli/committers this is now ready for review!

@swissspidy swissspidy merged commit ab65d19 into main Dec 20, 2024
@swissspidy swissspidy deleted the fix/flaky-test branch December 20, 2024 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope:testing Related to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants