]> Cypherpunks repositories - gostls13.git/commit
misc/cgo: decrease test failure timeouts
authorElias Naur <elias.naur@gmail.com>
Thu, 17 Nov 2016 12:52:00 +0000 (13:52 +0100)
committerIan Lance Taylor <iant@golang.org>
Thu, 17 Nov 2016 16:31:34 +0000 (16:31 +0000)
commit4ca3a8f7a807bba55e9db82b9aa8c43b1a186b8e
tree1a7d6140c1cd168713d951e86d44af8c929d289b
parentfd0f69c6802b92fed953659efe5f2e0e2e8aed14
misc/cgo: decrease test failure timeouts

CL 33239 changed the polling loops from using sched_yield to a sleep
for 1/1000 of a second. The loop counters were not updated, so failing
tests now take 100 seconds to complete. Lower the loop counts to 5
seconds instead.

Change-Id: I7c9a343dacc8188603ecf7e58bd00b535cfc87f5
Reviewed-on: https://go-review.googlesource.com/33280
Run-TryBot: Elias Naur <elias.naur@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
misc/cgo/testcarchive/main2.c
misc/cgo/testcarchive/main3.c
misc/cgo/testcarchive/main4.c
misc/cgo/testcshared/main4.c
misc/cgo/testcshared/main5.c