Attention needed from Hyang-Ah Hana Kim, Richard Miller and Robert Findley
David du Colombier has uploaded the change for review![Open in Gerrit]()
David du Colombier would like Hyang-Ah Hana Kim, Richard Miller and Robert Findley to review this change.
Commit message
gopls/internal/telemetry: skip the telemetry test on Plan 9
The telemetry test relies on the counters from
golang.org/x/telemetry, which are stored in
memory-mapped files.
Plan 9 does not support mmap, so the counters are
never persisted and always read back as zero, like
on js/wasm and wasip1, which are already excluded.
Add plan9 to the build constraint.
Change-Id: I356f9d0115ace200de8c4ffa3a192ca18babeaba
Change diff
diff --git a/gopls/internal/telemetry/telemetry_test.go b/gopls/internal/telemetry/telemetry_test.go
index a8cf2b8..a5e7c6f 100644
--- a/gopls/internal/telemetry/telemetry_test.go
+++ b/gopls/internal/telemetry/telemetry_test.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build !openbsd && !js && !wasip1 && !solaris && !android && !386
+//go:build !openbsd && !js && !wasip1 && !solaris && !android && !386 && !plan9
package telemetry_test
Change information
Files:
- M gopls/internal/telemetry/telemetry_test.go
Change size: XS
Delta: 1 file changed, 1 insertion(+), 1 deletion(-)
Open in GerritRelated details
Attention is currently required from:
- Hyang-Ah Hana Kim
- Richard Miller
- Robert Findley
Gerrit-MessageType: newchange
Gerrit-Project: tools
Gerrit-Branch: master
Gerrit-Change-Id: I356f9d0115ace200de8c4ffa3a192ca18babeaba
Gerrit-Change-Number: 794821
Gerrit-PatchSet: 1