]> Cypherpunks repositories - gostls13.git/commit
runtime: adjust expected error threshold in TestSelectFairness
authorGiovanni Bajo <rasky@develer.com>
Sat, 12 Oct 2019 10:05:58 +0000 (12:05 +0200)
committerGiovanni Bajo <rasky@develer.com>
Sat, 12 Oct 2019 16:38:27 +0000 (16:38 +0000)
commite49ecaaa0a1d6f6356b4db16ac170123e11f9e62
treef9df1243407b563db1c0e76e5023a7c0b24a3628
parent592d304bdc293a03d80ad86ad4b98b02353bfd64
runtime: adjust expected error threshold in TestSelectFairness

Make it a bit more relaxed on the expected fairness, as fastrand()
isn't a truly perfect random number generator.

Fixes #34808

Change-Id: Ib55b2bbe3c1bf63fb4f446fd1291eb1236efc33b
Reviewed-on: https://go-review.googlesource.com/c/go/+/200857
Run-TryBot: Giovanni Bajo <rasky@develer.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
src/runtime/chan_test.go