]> Cypherpunks.ru repositories - gostls13.git/commit
hash/maphash: weaken avalanche test a bit more
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Tue, 31 Oct 2023 11:34:42 +0000 (18:34 +0700)
committerGopher Robot <gobot@golang.org>
Tue, 31 Oct 2023 17:00:31 +0000 (17:00 +0000)
commit3dea7c3f690cb35858b122605d1f029df8062293
treec4826d0ab85909ba502b6e4e2fc9a17a3c48adc9
parent289b823ac9495e2a0820296c986a2534a7b4af79
hash/maphash: weaken avalanche test a bit more

CL 495415 weaken avalanche, making allowed range from 43% to 57%. Since
then, we only see a failure with 58% on linux-386-longtest builder, so
let give the test a bit more wiggle room: 40% to 59%.

Fixes #60170

Change-Id: I9528ebc8601975b733c3d9fd464ce41429654273
Reviewed-on: https://go-review.googlesource.com/c/go/+/538655
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com>
src/hash/maphash/smhasher_test.go
src/runtime/hash_test.go