]> Cypherpunks repositories - gostls13.git/commitdiff
misc: Increase issue 6997's test timeout to prevent spurious failures.
authorBenoit Sigoure <tsunanet@gmail.com>
Sat, 1 Nov 2014 15:28:09 +0000 (08:28 -0700)
committerIan Lance Taylor <iant@golang.org>
Sat, 1 Nov 2014 15:28:09 +0000 (08:28 -0700)
On heavily loaded build servers, a 5 second timeout is too aggressive,
which causes this test to fail spuriously.

LGTM=iant
R=iant
CC=golang-codereviews, sqweek
https://golang.org/cl/170850043

misc/cgo/test/issue6997_linux.go

index 871bd517a7d2a24ef3e6c798bef243fb524c0794..5455f0c536af86f7cfde387c7b48506c38db830a 100644 (file)
@@ -34,7 +34,7 @@ func test6997(t *testing.T) {
                if r == 0 {
                        t.Error("pthread finished but wasn't cancelled??")
                }
-       case <-time.After(5 * time.Second):
+       case <-time.After(30 * time.Second):
                t.Error("hung in pthread_cancel/pthread_join")
        }
 }