]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: don't specify GOEXPERIMENT=greenteagc in goroutine leak tests
authorMichael Anthony Knyszek <mknyszek@google.com>
Wed, 3 Dec 2025 22:18:27 +0000 (22:18 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 5 Dec 2025 18:34:02 +0000 (10:34 -0800)
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>
src/runtime/goroutineleakprofile_test.go

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