sweet: disable gvisor benchmark
This reverts CL 390955.
Reason for revert: benchmark is still failing on longtest builders.
Updates golang/go#51445.
Change-Id: I35a057933231e89e5b56810ff39c73f3702fd383
Reviewed-on: https://go-review.googlesource.com/c/benchmarks/+/391194
Trust: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Michael Pratt <mpratt@google.com>
diff --git a/sweet/cmd/sweet/benchmark.go b/sweet/cmd/sweet/benchmark.go
index e650947..e6f7d18 100644
--- a/sweet/cmd/sweet/benchmark.go
+++ b/sweet/cmd/sweet/benchmark.go
@@ -108,12 +108,18 @@
allBenchmarksMap["fogleman-pt"],
allBenchmarksMap["go-build"],
allBenchmarksMap["gopher-lua"],
- allBenchmarksMap["gvisor"],
+ // TODO(go.dev/issue/51445): Enable once gVisor builds with Go 1.19.
+ // allBenchmarksMap["gvisor"],
allBenchmarksMap["markdown"],
allBenchmarksMap["tile38"],
},
"all": func() (b []*benchmark) {
for i := range allBenchmarks {
+ if allBenchmarks[i].name == "gvisor" {
+ // TODO(go.dev/issue/51445): Include in "all"
+ // once gVisor builds with Go 1.19.
+ continue
+ }
b = append(b, &allBenchmarks[i])
}
return
diff --git a/sweet/cmd/sweet/integration_test.go b/sweet/cmd/sweet/integration_test.go
index 1af2785..c106f4c 100644
--- a/sweet/cmd/sweet/integration_test.go
+++ b/sweet/cmd/sweet/integration_test.go
@@ -156,7 +156,9 @@
var wg sync.WaitGroup
for i, shard := range []string{
"tile38", "go-build", "biogo-igor", "biogo-krishna", "bleve-query",
- "gvisor", "fogleman-pt", "bleve-index,fogleman-fauxgl,gopher-lua,markdown",
+ // TODO(go.dev/issue/51445): Enable once gVisor builds with Go 1.19.
+ // "gvisor",
+ "fogleman-pt", "bleve-index,fogleman-fauxgl,gopher-lua,markdown",
} {
sema.Acquire(context.Background(), 1)
wg.Add(1)