Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gopls/internal/test: await quiescence in TestInconsistentVendoring
TestInconsistentVendoring was awaiting only the initial workspace load before capturing diagnostics and running their code action. But opening a/a1.go also triggers diagnostics. This can cause the file lock failures observed in golang/go#64229. To fix this, wait for the change (the didOpen) to be fully processed. Fixes golang/go#64229 Change-Id: I747ea22db02b8def4bf7764714db7f901891792d Reviewed-on: https://go-review.googlesource.com/c/tools/+/558076 Reviewed-by: Alan Donovan <adonovan@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Robert Findley <rfindley@google.com>
- Loading branch information