1
0
mirror of https://github.com/golang/go synced 2024-11-19 23:44:43 -07:00
go/src/sync
Dmitry Vyukov e1035c5e87 sync/atomic: reduce test in short mode
In normal mode the test runs for 9+ seconds on my machine (48 cores).
But the real problem is race mode, in race mode it hits 10m test timeout.
Reduce test size in short mode. Now it runs for 100ms without race.

Change-Id: I9493a0e84f630b930af8f958e2920025df37c268
Reviewed-on: https://go-review.googlesource.com/19956
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-02-26 16:41:12 +00:00
..
atomic sync/atomic: reduce test in short mode 2016-02-26 16:41:12 +00:00
cond_test.go
cond.go
example_test.go
export_test.go
mutex_test.go
mutex.go
once_test.go
once.go
pool_test.go
pool.go all: use cannot instead of can not 2016-02-21 15:35:50 +00:00
runtime_sema_test.go
runtime.go
rwmutex_test.go
rwmutex.go
waitgroup_test.go
waitgroup.go