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

Fix flaky tests #60

Merged
merged 3 commits into from
Jan 25, 2024
Merged

Fix flaky tests #60

merged 3 commits into from
Jan 25, 2024

Conversation

StefMa
Copy link
Contributor

@StefMa StefMa commented Jan 25, 2024

fixes #58

Changes:

  • Check in can pick the right package only for the major version
  • Check not direct hashes of the URL anymore, but regex [a-z0-9]{32} (as hash).

Its better, not perfect (yet) 😅
There is the java 22 test that will fail as soon as it is available/released.
The test were added in #55
Not sure if its required to test against version 22.. Maybe we want to test against version 100 (or so)?
Just to test that we don't get anything in case we request an version that is not available?!
Le me know if I should change this or keep it for whatever reasons 🙃

@ov7a
Copy link
Member

ov7a commented Jan 25, 2024

Thank you for your contribution!
I think the changes are good and it's nice to have a green master. Regarding the Java version - since it's a negative test, then yes, let's shove 100 there! (hoping Java won't embrace crazy versioning like browsers do)

@StefMa StefMa requested a review from ov7a January 25, 2024 13:00
@ov7a
Copy link
Member

ov7a commented Jan 25, 2024

LGTM, Thank you!

@ov7a ov7a merged commit 15211a0 into gradle:main Jan 25, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix flaky tests \ Improve FoojayApiTest
2 participants