]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: allow for 5 more threads in TestWindowsStackMemory*
authorAlex Brainman <alex.brainman@gmail.com>
Sat, 4 Mar 2023 03:35:35 +0000 (14:35 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Tue, 7 Mar 2023 21:32:17 +0000 (21:32 +0000)
commitf6cbc1da05da141a78ee33954b52d17642c95130
tree0c85c18ce61c57891e486e4c67708911deae60eb
parentb675a75c3d7c221d8f5734203e25bd690a9a1f83
runtime: allow for 5 more threads in TestWindowsStackMemory*

Original version of TestWindowsStackMemory did not consider sysmon and
other threads running during the test. Allow for 5 extra threads in this
test - this should cover any new threads in the future.

Fixes #58570

Change-Id: I215790f9b94ff40a32ddd7aa54af715d1dc391c6
Reviewed-on: https://go-review.googlesource.com/c/go/+/473415
Reviewed-by: Michael Pratt <mpratt@google.com>
Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/runtime/testdata/testprog/syscall_windows.go
src/runtime/testdata/testprogcgo/stack_windows.go