From: Cherry Zhang Date: Thu, 27 Oct 2016 20:42:42 +0000 (-0400) Subject: math/big: flip long/short flag on TestFloat32Distribution X-Git-Tag: go1.8beta1~542 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=0dabbcdc435e4babf76bd561cfe67a486404d73a;p=gostls13.git math/big: flip long/short flag on TestFloat32Distribution It looks like a typo in CL 30707. Change-Id: Ia2d013567dbd1a49901d9be0cd2d5a103e6e38cf Reviewed-on: https://go-review.googlesource.com/32187 Run-TryBot: Cherry Zhang TryBot-Result: Gobot Gobot Reviewed-by: Russ Cox --- diff --git a/src/math/big/rat_test.go b/src/math/big/rat_test.go index e16ee5ef20..afda68658f 100644 --- a/src/math/big/rat_test.go +++ b/src/math/big/rat_test.go @@ -383,7 +383,7 @@ func TestFloat32Distribution(t *testing.T) { 11, } var winc, einc = uint64(5), 15 // quick test (~60ms on x86-64) - if testing.Short() { + if *long { winc, einc = uint64(1), 1 // soak test (~1.5s on x86-64) }