x/tools/gopls/test/debug: test fails when run in the module cache #59841
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Testing
An issue that has been verified to require only test changes, not just a test failure.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
What version of Go are you using (
go version
)?(Built from CL 489076 patchset 2.)
Does this issue reproduce with the latest release?
Yes, but it's harder to reproduce due to #56222.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
The test should either pass or be skipped.
What did you see instead?
The test fails: it assumes that the
golang.org/x/tools
module is located up from thegopls
module, but that assumption does not hold in the module cache. (Instead, the two modules are downloaded independently and stored in disjoint subtrees.)The text was updated successfully, but these errors were encountered: