From: Benoit Sigoure Date: Sat, 1 Nov 2014 15:28:09 +0000 (-0700) Subject: misc: Increase issue 6997's test timeout to prevent spurious failures. X-Git-Tag: go1.4rc1~54 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8e01fc7e9b531398e868d9899c91a9f052f015c7;p=gostls13.git misc: Increase issue 6997's test timeout to prevent spurious failures. 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 --- diff --git a/misc/cgo/test/issue6997_linux.go b/misc/cgo/test/issue6997_linux.go index 871bd517a7..5455f0c536 100644 --- a/misc/cgo/test/issue6997_linux.go +++ b/misc/cgo/test/issue6997_linux.go @@ -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") } }