From 794489ecf3cb573e7c23b0dec3ea2f3fe7ce27bf Mon Sep 17 00:00:00 2001 From: Alex Brainman Date: Thu, 8 Sep 2011 13:31:40 +1000 Subject: [PATCH] sync/atomic: do not run TestStoreLoadSeq for too long (fix windows builder) R=golang-dev, adg CC=golang-dev https://golang.org/cl/4962057 --- src/pkg/sync/atomic/atomic_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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{}