]> Cypherpunks repositories - gostls13.git/commit
runtime: crash asap and extend total sleep time for slow machine in test
authorzzkcode <zzk819166453@gmail.com>
Fri, 10 May 2024 14:51:01 +0000 (14:51 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 10 May 2024 16:04:54 +0000 (16:04 +0000)
commitdf4f40b9e07ed9b4d50dc10a445d4b50c37e4daa
tree233c57f2d85c826d688da63345093ad7f5bf85e8
parentb44600f83f5431f9af00cb209c443fe167588b6e
runtime: crash asap and extend total sleep time for slow machine in test

Running with few threads usually does not need 500ms to crash, so let it
crash as soon as possible. While the test may caused more time on slow
machine, try to expand the sleep time in test.

Updates #64752

Change-Id: I635fab846bd5e1735808d4d47bb9032d5a04cc2b
GitHub-Last-Rev: 84f3844ac0054a6a4b0e8ae13479a670e24ba8ce
GitHub-Pull-Request: golang/go#65018
Reviewed-on: https://go-review.googlesource.com/c/go/+/554615
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
Auto-Submit: Cherry Mui <cherryyz@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
src/runtime/signal_unix.go