aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/hash_test.go
diff options
context:
space:
mode:
authorKeith Randall <khr@golang.org>2016-09-23 19:57:16 -0700
committerKeith Randall <khr@golang.org>2016-09-24 03:10:13 +0000
commit60074b0fd35e438b06ba8e42c0e90b1a8a2945b7 (patch)
tree725254818a979773b75e0b8ff592332c9c838b65 /src/runtime/hash_test.go
parentab552aa3b69deb208b38677880e86aa41c3a9e47 (diff)
downloadgo-60074b0fd35e438b06ba8e42c0e90b1a8a2945b7.tar.gz
go-60074b0fd35e438b06ba8e42c0e90b1a8a2945b7.zip
runtime: remove TestCollisions from -short
Takes a bit too long to run it all the time. Fixes #17217 Update #17104 Change-Id: I4802190ea16ee0f436a7f95b093ea0f995f5b11d Reviewed-on: https://go-review.googlesource.com/29751 Run-TryBot: Keith Randall <khr@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/runtime/hash_test.go')
-rw-r--r--src/runtime/hash_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/runtime/hash_test.go b/src/runtime/hash_test.go
index 3108b3bf59..a6f3cdbdbe 100644
--- a/src/runtime/hash_test.go
+++ b/src/runtime/hash_test.go
@@ -683,6 +683,9 @@ func BenchmarkUnalignedLoad(b *testing.B) {
}
func TestCollisions(t *testing.T) {
+ if testing.Short() {
+ t.Skip("Skipping in short mode")
+ }
for i := 0; i < 16; i++ {
for j := 0; j < 16; j++ {
if j == i {