]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: remove TestCollisions from -short
authorKeith Randall <khr@golang.org>
Sat, 24 Sep 2016 02:57:16 +0000 (19:57 -0700)
committerKeith Randall <khr@golang.org>
Sat, 24 Sep 2016 03:10:13 +0000 (03:10 +0000)
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>

src/runtime/hash_test.go

index 3108b3bf5907efe7ee2f285a56d77d6dec678ff2..a6f3cdbdbe4f638fe82115e9cd68629697bccd45 100644 (file)
@@ -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 {