-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
x/tools/gopls/internal/test/integration/workspace: TestCreateModule_Interdependent failures #66777
Comments
Found new dashboard test flakes for:
2024-04-10 17:04 darwin-amd64-12_0 tools@6f92c839 go@a65a2bbd x/tools/gopls/internal/test/integration/workspace.TestCreateModule_Interdependent (log)
|
This suggests a race in the test, which asserts that after a WriteFiles and then a Diagnostics, there must be a diagnostic about variable x in the updated file's location--but in fact it reports the diagnostic at x's location in the original file. Looking at onFileChanges, I don't see how it can be correct that it fires off a goroutine but doesn't wait for anything to get started. That means the didChangedWatchedFiles could occur arbitrarily late, which would explain the race. |
No recurrences in over a year mean that this is not going to get attention. Closing as (optimistically) obsolete. |
Issue created automatically to collect these failures.
Example (log):
— watchflakes
The text was updated successfully, but these errors were encountered: