-
Notifications
You must be signed in to change notification settings - Fork 112
Increase lint test timeout #390
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
Labels
Comments
It's odd that this check is a lot slower on Windows. If anyone is inspired this might be worth looking into. |
znewman01
added a commit
to znewman01/go-tuf
that referenced
this issue
Sep 21, 2022
Context: linting in CI (`golangci-lint`) occasionally times out on Windows (flaky). Most of the time, it's fast enough (~1min). But occasionally it hits the 3 minute timeout. It's somewhat expected that `golangci-lint` is slow: golangci/golangci-lint-action#297 This PR does 3 things: 1. Bump the timeout from 3 to 5 minutes (why solve the problem when you can band-aid it?) 2. Add the `--verbose` flag, so if we start to see this again we'll have much better information with which to figure out what specifically is taking so long. 3. Remove the patch number from the `golangci-lint` version; it's disallowed, according to the `golangci-lint` action README. Fixes theupdateframework#390 (for now). Signed-off-by: Zachary Newman <[email protected]>
trishankatdatadog
pushed a commit
that referenced
this issue
Sep 21, 2022
tests: update lint CI parameters Context: linting in CI (`golangci-lint`) occasionally times out on Windows (flaky). Most of the time, it's fast enough (~1min). But occasionally it hits the 3 minute timeout. It's somewhat expected that `golangci-lint` is slow: golangci/golangci-lint-action#297 This PR does 3 things: 1. Bump the timeout from 3 to 5 minutes (why solve the problem when you can band-aid it?) 2. Add the `--verbose` flag, so if we start to see this again we'll have much better information with which to figure out what specifically is taking so long. 3. Remove the patch number from the `golangci-lint` version; it's disallowed, according to the `golangci-lint` action README. Fixes #390 (for now). Signed-off-by: Zachary Newman <[email protected]> Signed-off-by: Zachary Newman <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've gotten a timeout on the lint test a number of times, especially on Windows, maybe we can increase the timeout:
The text was updated successfully, but these errors were encountered: