]> Cypherpunks repositories - gostls13.git/commit
cmd/cgo/internal/testcshared: remove an arbitrary timeout in TestSignalHandlersWithNotify
authorBryan C. Mills <bcmills@google.com>
Fri, 14 Jul 2023 17:24:55 +0000 (13:24 -0400)
committerGopher Robot <gobot@golang.org>
Thu, 14 Sep 2023 13:19:50 +0000 (13:19 +0000)
commit9ee23e97a2079f7953c351bdb678c1b25a804d1c
treeeb935855ff3adad8c199d0059a0ec9b9e05d2149
parenta55ef982397acf27e1c9e56b15299dd9d82e80c2
cmd/cgo/internal/testcshared: remove an arbitrary timeout in TestSignalHandlersWithNotify

Also log verbose information when -test.v is set.

We need an arbitrary delay when checking that a signal is *not*
delivered, but when we expect the signal to arrive we don't need to
set an arbitrary limit on how long that can take.

Fixes #61264.

Change-Id: If3bbbf78e3c22694bf825d90d7ee9564ce8daedd
Reviewed-on: https://go-review.googlesource.com/c/go/+/509636
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
src/cmd/cgo/internal/testcshared/cshared_test.go
src/cmd/cgo/internal/testcshared/testdata/libgo5/libgo5.go
src/cmd/cgo/internal/testcshared/testdata/main4.c
src/cmd/cgo/internal/testcshared/testdata/main5.c