diff options
| author | Russ Cox <rsc@golang.org> | 2024-11-17 10:20:18 -0500 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2024-11-18 02:08:17 +0000 |
| commit | d1180dbd5e5728d268e0dda01fd2daa261911ec8 (patch) | |
| tree | bc8d27ddf68bc56ea4fb509c46160c45fb6d93b7 /src/runtime/syscall_windows_test.go | |
| parent | 01e1e5c20438145df65a2fb79c77e3d5c3eb6831 (diff) | |
| download | go-d1180dbd5e5728d268e0dda01fd2daa261911ec8.tar.xz | |
runtime: relax TestWindowsStackMemory from 100kB to 128kB
We've been getting intermittent flakes in this test since 2023,
all reporting values just barely over 100kB on windows-386.
If we were happy with 100kB, we should be happy with 128kB,
and it should fix the flakes.
Fixes #58570.
Change-Id: Iabe734cfbba6fe28a83f62e7811ee03fed424f0b
Reviewed-on: https://go-review.googlesource.com/c/go/+/628795
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/runtime/syscall_windows_test.go')
| -rw-r--r-- | src/runtime/syscall_windows_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/syscall_windows_test.go b/src/runtime/syscall_windows_test.go index edbc453ec8..01a9ca3b8c 100644 --- a/src/runtime/syscall_windows_test.go +++ b/src/runtime/syscall_windows_test.go @@ -673,7 +673,7 @@ func TestWindowsStackMemory(t *testing.T) { if err != nil { t.Fatalf("Failed to read stack usage: %v", err) } - if expected, got := 100<<10, stackUsage; got > expected { + if expected, got := 128<<10, stackUsage; got > expected { t.Fatalf("expected < %d bytes of memory per thread, got %d", expected, got) } } |
