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

Timeouts added to all the unit tests #2126

Merged
merged 4 commits into from
Jul 1, 2022
Merged

Timeouts added to all the unit tests #2126

merged 4 commits into from
Jul 1, 2022

Conversation

skelly37
Copy link
Contributor

Summary

  • This is a…
    • Bug fix
    • Feature addition
    • Refactoring
    • Minor / simple change (like a typo)
    • Other
  • Describe this change in 1-2 sentences:

Seems like I've missed quite a lot of tests in my previous commit so here's the full refactored codebase (I really hope I haven't missed anything this time).

Problem

Even if tests fail, they might get stuck and won't end themselves (despite timeouts in code) after Errors, so we have to create shorter timeouts in the workflow files.

  • JIRA ticket (optional): None

Solution

Timeouts added

Action

Nope

skelly37 added 3 commits June 28, 2022 23:30
Should have a bit more time preallocated than just run-tests but it also can get stuck (runs tests too), so timeout 40min should be okay.
@zas zas requested a review from phw June 29, 2022 10:57
phw
phw previously approved these changes Jun 29, 2022
Copy link
Member

@phw phw left a comment

Choose a reason for hiding this comment

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

I guess this is fine. That should be plenty of time and should help us finish the run earlier in case of endless loops and blocking issues. And if a run exceeds this time for some reason outside our control it would be very unusual and we can restart the process manual.

.github/workflows/run-tests.yml Outdated Show resolved Hide resolved
@zas zas merged commit 7cf6b92 into metabrainz:master Jul 1, 2022
@skelly37 skelly37 deleted the tests branch July 1, 2022 12:59
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.

3 participants