runtime: don't specify GOEXPERIMENT=greenteagc in goroutine leak tests

It's enabled by default, and redundant. It'll just break when we remove
the GOEXPERIMENT.

Change-Id: Ic6e6a04fc2fe59b3632788c4505dd8f5305813da
Reviewed-on: https://go-review.googlesource.com/c/go/+/726523
Auto-Submit: Michael Knyszek <mknyszek@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Pratt <mpratt@google.com>
This commit is contained in:
Michael Anthony Knyszek 2025-12-03 22:18:27 +00:00 committed by Gopher Robot
parent 2244bd7eeb
commit 9616c33295

View File

@ -503,7 +503,7 @@ func TestGoroutineLeakProfile(t *testing.T) {
cmdEnv := []string{
"GODEBUG=asyncpreemptoff=1",
"GOEXPERIMENT=greenteagc,goroutineleakprofile",
"GOEXPERIMENT=goroutineleakprofile",
}
if tcase.simple {