x/tools/refactor/importgraph: running tests with GO111MODULE=on is slow and writes to GOPATH workspace #30221
Labels
FrozenDueToAge
modules
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.
Milestone
Can be reproduced using Go 1.11.5 on macOS:
Running
importgraph
tests in module mode should not make modifications inside the user's GOPATH workspace. Fortunately, it only modifies go.mod and go.sum files, which is easy to revert thanks to version control systems.It also makes the test very slow when one's GOPATH is sizable. With my real GOPATH, it was:
/cc @ianthehat @matloob
The text was updated successfully, but these errors were encountered: