diff options
author | Benoit Sigoure <tsunanet@gmail.com> | 2014-11-01 08:28:09 -0700 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2014-11-01 08:28:09 -0700 |
commit | 8e01fc7e9b531398e868d9899c91a9f052f015c7 (patch) | |
tree | 07e00c2cee20bcd00bfbc756fa53e218f41e7cab | |
parent | 6a0a47539072b8ba4a7cfa585e4a0d71fba8c4c5 (diff) | |
download | go-8e01fc7e9b531398e868d9899c91a9f052f015c7.tar.gz go-8e01fc7e9b531398e868d9899c91a9f052f015c7.zip |
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
-rw-r--r-- | misc/cgo/test/issue6997_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
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") } } |