You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by ns...@apache.org on 2016/03/05 14:56:01 UTC

[2/3] thrift git commit: THRIFT-3713 lib/d/test/thrift_test_runner.sh is flaky on Jenkins Client: Test (D) Patch: Nobuaki Sukegawa

THRIFT-3713 lib/d/test/thrift_test_runner.sh is flaky on Jenkins
Client: Test (D)
Patch: Nobuaki Sukegawa

This closes #925


Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/2cc4764d
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/2cc4764d
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/2cc4764d

Branch: refs/heads/master
Commit: 2cc4764d0e4851b9024c53353235abe586a9835a
Parents: 6ec6860
Author: Nobuaki Sukegawa <ns...@apache.org>
Authored: Sat Mar 5 16:07:37 2016 +0900
Committer: Nobuaki Sukegawa <ns...@apache.org>
Committed: Sat Mar 5 22:53:28 2016 +0900

----------------------------------------------------------------------
 lib/d/test/thrift_test_runner.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/2cc4764d/lib/d/test/thrift_test_runner.sh
----------------------------------------------------------------------
diff --git a/lib/d/test/thrift_test_runner.sh b/lib/d/test/thrift_test_runner.sh
index 27479c9..51bfe99 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