From: Keith Randall Date: Thu, 2 Oct 2025 20:09:03 +0000 (-0700) Subject: runtime: relax TestMemoryLimit on darwin a bit more X-Git-Tag: go1.26rc1~255 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=6caab99026;p=gostls13.git runtime: relax TestMemoryLimit on darwin a bit more Add 8MB more. Covers most of the failures watchflakes has seen. Fixes #73136 Change-Id: I593c599a9519b8b31ed0f401d4157d27ac692587 Reviewed-on: https://go-review.googlesource.com/c/go/+/708617 LUCI-TryBot-Result: Go LUCI Reviewed-by: Michael Knyszek Reviewed-by: Keith Randall --- diff --git a/src/runtime/testdata/testprog/gc.go b/src/runtime/testdata/testprog/gc.go index bbe1453401..32e2c5e1b4 100644 --- a/src/runtime/testdata/testprog/gc.go +++ b/src/runtime/testdata/testprog/gc.go @@ -396,7 +396,7 @@ func gcMemoryLimit(gcPercent int) { // should do considerably better than this bound. bound := int64(myLimit + 16<<20) if runtime.GOOS == "darwin" { - bound += 16 << 20 // Be more lax on Darwin, see issue 73136. + bound += 24 << 20 // Be more lax on Darwin, see issue 73136. } start := time.Now() for time.Since(start) < 200*time.Millisecond {