summaryrefslogtreecommitdiff
path: root/lib/d
diff options
context:
space:
mode:
authorNobuaki Sukegawa <nsuke@apache.org>2016-03-05 16:07:37 +0900
committerNobuaki Sukegawa <nsuke@apache.org>2016-03-05 22:53:28 +0900
commit2cc4764d0e4851b9024c53353235abe586a9835a (patch)
tree3260496a65c15b4d636270ddb9e9d9d865772b4a /lib/d
parent6ec6860801bdc87236e636add071c4faa2ac7e4b (diff)
downloadthrift-2cc4764d0e4851b9024c53353235abe586a9835a.tar.gz
THRIFT-3713 lib/d/test/thrift_test_runner.sh is flaky on Jenkins
Client: Test (D) Patch: Nobuaki Sukegawa This closes #925
Diffstat (limited to 'lib/d')
-rwxr-xr-xlib/d/test/thrift_test_runner.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/d/test/thrift_test_runner.sh b/lib/d/test/thrift_test_runner.sh
index 27479c99a..51bfe9999 100755
--- a/lib/d/test/thrift_test_runner.sh
+++ b/lib/d/test/thrift_test_runner.sh
@@ -51,7 +51,11 @@ for protocol in $protocols; do
# Give the server some time to get up and check if it runs (yes, this
# is a huge kludge, should add a connect timeout to test client).
client_rc=-1
- sleep 0.01
+ if [ "$server" = "taskpool" ]; then
+ sleep 0.5
+ else
+ sleep 0.02
+ fi
kill -0 $server_pid 2>/dev/null
if [ $? -eq 0 ]; then
${CUR}/thrift_test_client $args --numTests=10 > /dev/null