From: Alex Brainman Date: Thu, 8 Sep 2011 03:31:40 +0000 (+1000) Subject: sync/atomic: do not run TestStoreLoadSeq for too long (fix windows builder) X-Git-Tag: weekly.2011-09-16~82 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=794489ecf3cb573e7c23b0dec3ea2f3fe7ce27bf;p=gostls13.git sync/atomic: do not run TestStoreLoadSeq for too long (fix windows builder) R=golang-dev, adg CC=golang-dev https://golang.org/cl/4962057 --- diff --git a/src/pkg/sync/atomic/atomic_test.go b/src/pkg/sync/atomic/atomic_test.go index d3fc1387c4..ea224375c1 100644 --- a/src/pkg/sync/atomic/atomic_test.go +++ b/src/pkg/sync/atomic/atomic_test.go @@ -885,9 +885,9 @@ func TestHammerStoreLoad(t *testing.T) { func TestStoreLoadSeqCst(t *testing.T) { defer runtime.GOMAXPROCS(runtime.GOMAXPROCS(4)) - N := int32(1e6) + N := int32(1e3) if testing.Short() { - N = int32(1e5) + N = int32(1e2) } c := make(chan bool, 2) X := [2]int32{}