-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gopls/internal/lsp/regtest: delete TestWatchReplaceTargets
We don't actually watch replace targets anymore. The way to specify if a module is being used is by including it in a go.work file. Looking back on the flakiness, I am pretty sure it was due simply to type-checking on slow builders, back when we limited each regtest to 20s. This module imports some standard library packages that used to be slow to type check. I am pretty sure this test would no longer be flaky, if we still supported the functionality. While porting over the assertions from this test to TestUseGoWork, I discovered golang/go#60340, a bug in the order of our file watcher evaluation. Fixes golang/go#50748 Change-Id: I26c10ac659d0f195da18b6181b54d7c373cc984b Reviewed-on: https://go-review.googlesource.com/c/tools/+/496879 Run-TryBot: Robert Findley <rfindley@google.com> Reviewed-by: Alan Donovan <adonovan@google.com> TryBot-Result: Gopher Robot <gobot@golang.org>
- Loading branch information
Showing
2 changed files
with
23 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters