aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/syscall_windows_test.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2024-11-17 10:20:18 -0500
committerGopher Robot <gobot@golang.org>2024-11-18 02:08:17 +0000
commitd1180dbd5e5728d268e0dda01fd2daa261911ec8 (patch)
treebc8d27ddf68bc56ea4fb509c46160c45fb6d93b7 /src/runtime/syscall_windows_test.go
parent01e1e5c20438145df65a2fb79c77e3d5c3eb6831 (diff)
downloadgo-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.go2
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)
}
}