From 97677273532cf1a4e8b181c242d89c0be8c92bb6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Mart=C3=AD?= Date: Tue, 3 Apr 2018 19:11:53 +0100 Subject: [PATCH] test: skip locklinear's lockmany test for now MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- test/locklinear.go | 6 ++++++ 1 file changed, 6 insertions(+) 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) -- 2.48.1