]> Cypherpunks repositories - gostls13.git/commitdiff
test: skip locklinear's lockmany test for now
authorDaniel Martí <mvdan@mvdan.cc>
Tue, 3 Apr 2018 18:11:53 +0000 (19:11 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Thu, 5 Apr 2018 10:53:40 +0000 (10:53 +0000)
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>
test/locklinear.go

index 161912b65e84bc28b74494344f5a72111acb86a8..54e40a543b160cb26f4c07a45c0bbc2e0fe23670 100644 (file)
@@ -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)