]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: make select fairness test less picky
authorKeith Randall <khr@golang.org>
Tue, 31 Oct 2023 16:54:54 +0000 (09:54 -0700)
committerGopher Robot <gobot@golang.org>
Tue, 31 Oct 2023 20:47:35 +0000 (20:47 +0000)
commitb11defeaed46a56e2d8a32f16ce3e22a93c3a825
treea554151237e3fb9710bcd94ce88facfa7c0d60d3
parent962ccbef91057f91518443b648e02fc3afe8c764
runtime: make select fairness test less picky

Allow up to 10 standard deviations from the mean, instead of
~5 that the current test allows.

10 standard deviations allows up to a 4500/5500 split.

Fixes #52465

Change-Id: Icb21c1d31fafbcf4723b75435ba5e98863e812c4
Reviewed-on: https://go-review.googlesource.com/c/go/+/538815
Auto-Submit: Keith Randall <khr@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Keith Randall <khr@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/runtime/chan_test.go