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

Make rate limit test more lenient #311

Merged
merged 2 commits into from
Dec 3, 2024
Merged

Conversation

adamelfstrom
Copy link
Collaborator

The rate limit test seems to fail more often than not when ran in Actions, but it never seems to be an issue when running the tests locally.
Instead of only allowing 50s for the elapsed time of the test, 49-51s should make it fail less often

@adamelfstrom
Copy link
Collaborator Author

adamelfstrom commented Dec 3, 2024

Increased time to 65s, as some failed test runs from the past have taken ~60s instead of 50. The important part is that the rate limiter works to limit the amount of request per second to avoid errors from the API.

One of the runs from this pull request took 58s for example.

@adamelfstrom adamelfstrom merged commit efa3f50 into master Dec 3, 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.

1 participant