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

test: rerun random URL connection test if need-be #2373

Merged
merged 2 commits into from
Nov 5, 2024

Conversation

antazoey
Copy link
Member

@antazoey antazoey commented Nov 4, 2024

What I did

Had a CI failure but the URL was actually fine, just was offline for a split second or something.

How I did it

pytest-rerunfailures plugin

NOTE: Personally, plugins like this are a slippery slope and I think they should be avoided. If someone uses flakey markers, I will likely object and poke. However, in this situation, it makes sense because it involves an outside URL; I think that element really makes this test rich so I'd like to keep it, but ya it should be considered flakey since it is outside of our control.

How to verify it

CI doesnt fail now.

Checklist

  • All changes are completed
  • New test cases have been added
  • Documentation has been updated

@antazoey antazoey enabled auto-merge (squash) November 5, 2024 14:56
@antazoey antazoey merged commit a84b692 into ApeWorX:main Nov 5, 2024
16 checks passed
@antazoey antazoey deleted the test/flakey branch November 6, 2024 15:32
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.

2 participants