-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
go/internal/srcimporter: TestImportedTypes depends on the network, breaks several builds #30760
Comments
Notably, this part of that CL: https://go-review.googlesource.com/c/go/+/164623/19/src/go/internal/srcimporter/srcimporter_test.go diff --git a/src/go/internal/srcimporter/srcimporter_test.go b/src/go/internal/srcimporter/srcimporter_test.go
index b84672610c..087f97461e 100644
--- a/src/go/internal/srcimporter/srcimporter_test.go
+++ b/src/go/internal/srcimporter/srcimporter_test.go
@@ -99,7 +99,7 @@ var importedObjectTests = []struct {
{"math.Pi", "const Pi untyped float"},
{"math.Sin", "func Sin(x float64) float64"},
{"math/big.Int", "type Int struct{neg bool; abs nat}"},
- {"internal/x/text/unicode/norm.MaxSegmentSize", "const MaxSegmentSize untyped int"},
+ {"golang.org/x/text/unicode/norm.MaxSegmentSize", "const MaxSegmentSize untyped int"},
}
|
Change https://golang.org/cl/167038 mentions this issue: |
The test is not new, just newly-exposed. CL 166977 has a hacky workaround; a proper fix will require a bit more work on |
Change https://golang.org/cl/167039 mentions this issue: |
Change https://golang.org/cl/166977 mentions this issue: |
Updates golang/go#30612 Updates golang/go#30760 Change-Id: I296f4f7a163c1bdd59e839229c0961b21f26da89 Reviewed-on: https://go-review.googlesource.com/c/build/+/167039 Reviewed-by: Bryan C. Mills <bcmills@google.com>
A new(?) test brought in with a vendor update in c5cf662 requires the network (even in short mode) and fails on a number of builds.
Repro:
/cc @jayconrod @bcmills @eliasnaur @dmitshur
The text was updated successfully, but these errors were encountered: