mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 10:48:51 +00:00
THRIFT-3713 lib/d/test/thrift_test_runner.sh is flaky on Jenkins
Client: Test (D) Patch: Nobuaki Sukegawa This closes #925
This commit is contained in:
parent
6ec6860801
commit
2cc4764d0e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user