Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runtime/testdata/testprog: increase GCFairness2 timeout to 1s
OpenBSD's scheduler causes preemption to take 20+ms, so 30ms is not enough time for 3 goroutines to run. This change continues to sleep for 30ms, but if it finds that the 3 goroutines have not run, it sleeps for an additional 1s before declaring failure. Updates #17712 Change-Id: I3e886e40d05192b7cb71b4f242af195836ef62a8 Reviewed-on: https://go-review.googlesource.com/32634 Reviewed-by: Rick Hudson <[email protected]> Run-TryBot: Quentin Smith <[email protected]> TryBot-Result: Gobot Gobot <[email protected]>
- Loading branch information