This is an automated email from the ASF dual-hosted git repository.
chesnay pushed a commit to branch release-1.7
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.7 by this push:
new 565c49a [hotfix] Increase startup timeout in end-to-end tests
565c49a is described below
commit 565c49a1dddfa48d66abcafe5a846c613afebf4c
Author: Aljoscha Krettek <[email protected]>
AuthorDate: Mon Mar 25 17:59:42 2019 +0100
[hotfix] Increase startup timeout in end-to-end tests
We've seen quite some flakyness in the end-to-end tests on Travis
lately. On most tests it takes about 5-8 secs for the dispatcher to come
up so 10 secs might be to low.
---
flink-end-to-end-tests/test-scripts/common.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flink-end-to-end-tests/test-scripts/common.sh
b/flink-end-to-end-tests/test-scripts/common.sh
index 183735b..2f4c849 100644
--- a/flink-end-to-end-tests/test-scripts/common.sh
+++ b/flink-end-to-end-tests/test-scripts/common.sh
@@ -212,7 +212,7 @@ function start_local_zk {
function wait_dispatcher_running {
# wait at most 10 seconds until the dispatcher is up
local QUERY_URL="${REST_PROTOCOL}://${NODENAME}:8081/taskmanagers"
- local TIMEOUT=10
+ local TIMEOUT=20
for i in $(seq 1 ${TIMEOUT}); do
# without the || true this would exit our script if the JobManager is not
yet up
QUERY_RESULT=$(curl ${CURL_SSL_ARGS} "$QUERY_URL" 2> /dev/null || true)