sweet: disable gvisor benchmark

gVisor currently does not build with Go 1.19, so exclude it from "all",
"default", and integration testing until it is fixed. It can still be
requested explicitly with -run=gvisor.

For golang/go#51445.

Change-Id: Ib839899af169ff247aa59f264c7891e16784603c
Reviewed-on: https://go-review.googlesource.com/c/benchmarks/+/389754
Trust: Michael Pratt <mpratt@google.com>
Run-TryBot: Michael Pratt <mpratt@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
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)