diff options
| author | Keith Randall <khr@golang.org> | 2025-10-02 13:09:03 -0700 |
|---|---|---|
| committer | Keith Randall <khr@google.com> | 2025-11-17 13:45:01 -0800 |
| commit | 6caab99026a496107e903469d8c906be66a71896 (patch) | |
| tree | 8a6245b2730778bdcdf1a9573aea7de9cacfc8b5 /src/runtime/testdata | |
| parent | eda2e8c683798e435e725f60f0bb580eb4aa9686 (diff) | |
| download | go-6caab99026a496107e903469d8c906be66a71896.tar.xz | |
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 <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Keith Randall <khr@google.com>
Diffstat (limited to 'src/runtime/testdata')
| -rw-r--r-- | src/runtime/testdata/testprog/gc.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |
