-
Notifications
You must be signed in to change notification settings - Fork 768
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
test/integration: Installation Tests are flaky #169
Labels
Comments
I wonder if the tests are just slow or actually failing. I think https://go-review.googlesource.com/c/vscode-go/+/236058 might be able to help with diagnosing that. |
hyangah
added a commit
to hyangah/vscode-go-old
that referenced
this issue
Jun 16, 2020
installation tests require multiple fs operations, and 2s may be too short to complete everything on time. Allow more time. And disable the gopls update check in gopls testing. That shortens the time to bring up the gopls server. Also remove the hack to start the test with a clean user profile (--user-data-dir). That doesn't seem to work but interferes with picking up the workspace settings, which I do not understand why. Updates golang/vscode-go#169 Updates golang/vscode-go#43 Updates microsoft/vscode#97995 Change-Id: I5dbb33514a25a2071bf5bdf4ad248087e7e9b322
Change https://golang.org/cl/238001 mentions this issue: |
gopherbot
pushed a commit
that referenced
this issue
Jun 16, 2020
installation tests require multiple fs operations, and 2s may be too short to complete everything on time. Allow more time. And disable the gopls update check in gopls testing. That shortens the time to bring up the gopls server. Also remove the hack to start the test with a clean user profile (--user-data-dir). That doesn't seem to work but interferes with picking up the workspace settings, which I do not understand why. Updates #169 Updates #43 Updates microsoft/vscode#97995 Change-Id: I0e8b7d8f1f47f2e68696c6bd078c1ad2a0fe6780 GitHub-Last-Rev: f414011 GitHub-Pull-Request: #231 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/238001 Reviewed-by: Rebecca Stambler <rstambler@golang.org>
I don't see any flakiness from this test. Closing. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
1 failing
install tools:
Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/Users/travis/gopath/src/github.com/hyangah/vscode-go/out/test/integration/install.test.js)
at listOnTimeout (internal/timers.js:531:17)
at processTimers (internal/timers.js:475:7)
Error: 1 tests failed.
Error: 1 tests failed.
https://travis-ci.org/github/hyangah/vscode-go/jobs/694401146
The text was updated successfully, but these errors were encountered: