From: Daniel Martí Date: Tue, 3 Apr 2018 18:11:53 +0000 (+0100) Subject: test: skip locklinear's lockmany test for now X-Git-Tag: go1.11beta1~964 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=97677273532cf1a4e8b181c242d89c0be8c92bb6;p=gostls13.git 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í TryBot-Result: Gobot Gobot Reviewed-by: Brad Fitzpatrick --- 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)