From: Dan Scales Date: Wed, 17 Feb 2021 02:24:48 +0000 (-0800) Subject: [dev.typeparams] cmd/dist: disable -G=3 on the std go tests for now X-Git-Tag: go1.17beta1~1473^2~19 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=e196cb8258647652f552757d024b261731d95218;p=gostls13.git [dev.typeparams] cmd/dist: disable -G=3 on the std go tests for now Disable -G=3 tests on the std go tests, in order to see if -G=3 is causing the flakiness for the dev.typeparams builder, as opposed to other changes in typeparams branch. It's possible that -G=3 is using more CPU/RAM that causes flakiness, as opposed to more specific bugs. Change-Id: I610bce2aabd26b2b1fddc5e63f85ffe4e958e0d8 Reviewed-on: https://go-review.googlesource.com/c/go/+/292850 TryBot-Result: Go Bot Trust: Dan Scales Trust: Robert Griesemer Run-TryBot: Dan Scales Reviewed-by: Robert Griesemer --- diff --git a/src/cmd/dist/test.go b/src/cmd/dist/test.go index 365a77a156..2b1f82246a 100644 --- a/src/cmd/dist/test.go +++ b/src/cmd/dist/test.go @@ -444,8 +444,12 @@ func (t *tester) registerTests() { fatalf("Error running go list std cmd: %v:\n%s", err, cmd.Stderr) } pkgs := strings.Fields(string(all)) - for _, pkg := range pkgs { - t.registerStdTest(pkg, true) + if false { + // Disable -G=3 option for standard tests for now, since + // they are flaky on the builder. + for _, pkg := range pkgs { + t.registerStdTest(pkg, true /* -G=3 flag */) + } } for _, pkg := range pkgs { t.registerStdTest(pkg, false)