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

ci: Add overall test timeout of 30 minutes #6583

Merged
merged 1 commit into from May 11, 2024

Conversation

joeyparrish
Copy link
Member

@joeyparrish joeyparrish commented May 11, 2024

When tests occasionally timeout (as is currently happening with IndexedDB hangs on Mac), we should stop the test run after 30 minutes and allow the "deflake" workflow to rerun them. Without this timeout, the test run can takes hours.

A successful test run takes 15-20 minutes currently.

@shaka-bot
Copy link
Collaborator

Incremental code coverage: No instrumented code was changed.

@joeyparrish
Copy link
Member Author

This doesn't seem to be working yet...

@joeyparrish joeyparrish marked this pull request as draft May 11, 2024 05:52
@joeyparrish joeyparrish marked this pull request as ready for review May 11, 2024 15:01
@joeyparrish
Copy link
Member Author

I didn't see this working before because the Selenium lab workflow normally runs against the workflow from main, not from the PR branch. Now I have triggered the workflow manually from the branch with the change, and I can see it is working.

@joeyparrish joeyparrish merged commit 790cc35 into shaka-project:main May 11, 2024
55 checks passed
@joeyparrish joeyparrish deleted the set-test-timeout branch May 11, 2024 17:38
avelad pushed a commit that referenced this pull request May 13, 2024
When tests occasionally timeout (as is currently happening with
IndexedDB hangs on Mac), we should stop the test run after 30 minutes
and allow the "deflake" workflow to rerun them. Without this timeout,
the test run can takes hours.

A successful test run takes 15-20 minutes currently.
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.

None yet

3 participants