diff options
author | Daniel Martí <mvdan@mvdan.cc> | 2018-04-03 19:11:53 +0100 |
---|---|---|
committer | Daniel Martí <mvdan@mvdan.cc> | 2018-04-05 10:53:40 +0000 |
commit | 97677273532cf1a4e8b181c242d89c0be8c92bb6 (patch) | |
tree | 8a92f384492d2d8e7676f1eff1feeb828bdc4c5e /test/locklinear.go | |
parent | 9357bb9eba45fbd82e113671267ee8e74ea70139 (diff) | |
download | go-97677273532cf1a4e8b181c242d89c0be8c92bb6.tar.gz go-97677273532cf1a4e8b181c242d89c0be8c92bb6.zip |
test: skip locklinear's lockmany test for now
Since it's been reliably failing on one of the linux-arm builders
(arm5spacemonkey) for a long time.
Updates #24221.
Change-Id: I8fccc7e16631de497ccc2c285e510a110a93ad95
Reviewed-on: https://go-review.googlesource.com/104535
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'test/locklinear.go')
-rw-r--r-- | test/locklinear.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/locklinear.go b/test/locklinear.go index 161912b65e..54e40a543b 100644 --- a/test/locklinear.go +++ b/test/locklinear.go @@ -125,6 +125,12 @@ func main() { } }) + if runtime.GOARCH == "arm" && os.Getenv("GOARM") == "5" { + // lockmany reliably fails on the linux-arm-arm5spacemonkey + // builder. See https://golang.org/issue/24221. + return + } + checkLinear("lockmany", 1000, func(n int) { locks := make([]sync.RWMutex, n*offset+1) |