]> Cypherpunks repositories - gostls13.git/commit
runtime: soften up hash checks a bit
authorKeith Randall <khr@golang.org>
Tue, 25 Aug 2015 04:10:36 +0000 (21:10 -0700)
committerKeith Randall <khr@golang.org>
Mon, 31 Aug 2015 19:38:24 +0000 (19:38 +0000)
commita088f1b76ccb931eb72e4ef54c1f59053996478c
treea285ed14fa2edda2cb1283873db3f442bc4ac5dd
parent24e4cd9eb6357105027a4c580a311e84b00273ba
runtime: soften up hash checks a bit

The hash tests generate occasional failures, quiet them some more.

In particular we can get 1 collision when the expected number is
.001 or so. That shouldn't be a dealbreaker.

Fixes #12311

Change-Id: I784e91b5d21f4f1f166dc51bde2d1cd3a7a3bfea
Reviewed-on: https://go-review.googlesource.com/13902
Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com>
src/runtime/hash_test.go