Skip to content

fix: Increase CI timeout for postgres test #3079

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

Merged
merged 2 commits into from
Jul 20, 2022

Conversation

mafredri
Copy link
Member

The Go test timeout uses 20m, if we want to get a stack trace, we must
allow the actions worker to run longer than that.

Fail in CI: https://github.com/coder/coder/runs/7434700524?check_suite_focus=true

The Go test timeout uses 20m, if we want to get a stack trace, we must
allow the actions worker to run longer than that.
@mafredri mafredri self-assigned this Jul 20, 2022
@mafredri mafredri requested a review from a team July 20, 2022 18:06
@mafredri mafredri force-pushed the mafredri/increase-postgres-test-timeout branch from 1cd30e2 to 865ae8a Compare July 20, 2022 19:00
@mafredri mafredri enabled auto-merge (squash) July 20, 2022 19:01
@mafredri mafredri merged commit 4a7d067 into main Jul 20, 2022
@mafredri mafredri deleted the mafredri/increase-postgres-test-timeout branch July 20, 2022 19:09
mafredri added a commit that referenced this pull request Jul 22, 2022
This commit lowers the postgres test timeout from 30m to 20m, currently
our postgres tests seem to take 8-10m, a 2x factor should suffice.
Comments were updated in both places to reflect the reasoning and
necessity of keeping these values in sync.

They used to take longer but the `count` was lowered in
3d40cb8.

The actual timeout value of `make test-postgres` got overlooked in
#3079.
mafredri added a commit that referenced this pull request Jul 22, 2022
This commit lowers the postgres test timeout from 30m to 20m, currently
our postgres tests seem to take 8-10m, a 2x factor should suffice.
Comments were updated in both places to reflect the reasoning and
necessity of keeping these values in sync.

They used to take longer but the `count` was lowered in
3d40cb8.

The actual timeout value of `make test-postgres` got overlooked in
#3079.
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