summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorBenoit Sigoure <tsunanet@gmail.com>2014-11-01 08:28:09 -0700
committerBenoit Sigoure <tsunanet@gmail.com>2014-11-01 08:28:09 -0700
commit19d2ed9d7210c649b7cc390e161243c5da809b2a (patch)
treec05db8df9eb9f1ca906f463bd60a925a2a45b317 /misc
parent711d417201ad887bed2504af9eb6f4a943e9b2f6 (diff)
downloadgo-19d2ed9d7210c649b7cc390e161243c5da809b2a.tar.gz
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 <iant@golang.org>
Diffstat (limited to 'misc')
-rw-r--r--misc/cgo/test/issue6997_linux.go2
1 files changed, 1 insertions, 1 deletions
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")
}
}