]> Cypherpunks repositories - gostls13.git/commit
runtime: remove unnecessary timeout in TestCallbackInAnotherThread
authorqmuntal <quimmuntal@gmail.com>
Thu, 31 Aug 2023 07:13:06 +0000 (09:13 +0200)
committerGopher Robot <gobot@golang.org>
Thu, 31 Aug 2023 16:31:35 +0000 (16:31 +0000)
commitcab416f3394ee0211f221f5df0a145ddbfd16e5f
treeaab96b72716608b45f1a2d33976539d54b550fca
parent9aaf5234bf652fc788782fc04a06044879b5957a
runtime: remove unnecessary timeout in TestCallbackInAnotherThread

Waiting only for 100ms might be not enough for the callback to be
called. It is more reliable to wait infinitely and rely on the
test timeout to fail the test if the callback is not called.

Fixes #62206

Change-Id: I06b5eadae1dd334a2afc41af31a44b42cb5e596d
Reviewed-on: https://go-review.googlesource.com/c/go/+/524695
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Quim Muntal <quimmuntal@gmail.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Quim Muntal <quimmuntal@gmail.com>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
src/runtime/syscall_windows_test.go