]> Cypherpunks repositories - gostls13.git/commit
runtime,hash/maphash: eliminate maphash torture test for -race
authorThan McIntosh <thanm@google.com>
Thu, 1 Dec 2022 16:38:38 +0000 (11:38 -0500)
committerThan McIntosh <thanm@google.com>
Thu, 1 Dec 2022 19:24:55 +0000 (19:24 +0000)
commite24380b6fa82682baa4103787373520c7685e38a
tree5454eac6941fd7881f3e1d4f914bbda8f7818bc3
parent36b87f273cc43e21685179dc1664ebb5493d26ae
runtime,hash/maphash: eliminate maphash torture test for -race

Disable the "torture" portion of the maphash tests if -race is in
effect (these tests can cause timeouts on the longtest -race builder).

Fixes #57030.

Change-Id: I23d7561dac3e81d979cad9e0efa6f5b7154aadd2
Reviewed-on: https://go-review.googlesource.com/c/go/+/454455
Run-TryBot: Than McIntosh <thanm@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
src/hash/maphash/smhasher_test.go
src/runtime/hash_test.go