godev/internal/storage: skip TestGCStore when there is no network

And let gcsemu.NewServer bind to an any open port instead of assuming
a specific port 8081 is available.

godev/internal/testenv is a partial copy of
golang.org/x/tools/internal/testenv.

Fixes golang/go#60533
Fixes golang/go#60534

Change-Id: I715b4b73094e6ebddb8be6a8279a73669d54ec11
Reviewed-on: https://go-review.googlesource.com/c/telemetry/+/499596
Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Auto-Submit: Hyang-Ah Hana Kim <hyangah@gmail.com>
2 files changed
tree: 7b199112d8729b30e76833201b37529978e14a0c
  1. config/
  2. godev/
  3. CONTRIBUTING.md
  4. doc.go
  5. go.mod
  6. go.sum
  7. LICENSE
  8. PATENTS
  9. README.md
  10. types.go
README.md

Go Telemetry

This repository holds the Go Telemetry server code and libraries.

Report Issues / Send Patches

This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.

The main issue tracker for the time repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/telemetry:” in the subject line, so it is easy to find.