From 19d2ed9d7210c649b7cc390e161243c5da809b2a Mon Sep 17 00:00:00 2001 From: Benoit Sigoure Date: Sat, 1 Nov 2014 08:28:09 -0700 Subject: 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://codereview.appspot.com/170850043 Committer: Ian Lance Taylor --- misc/cgo/test/issue6997_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc') diff --git a/misc/cgo/test/issue6997_linux.go b/misc/cgo/test/issue6997_linux.go index 871bd517a..5455f0c53 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") } } -- cgit v1.2.1