This is an automated email from the ASF dual-hosted git repository.
aljoscha pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new f702d55 [hotfix] Increase startup timeout in end-to-end tests
f702d55 is described below
commit f702d55f240921dbfbbb5fb6ec35ae396b6a9094
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 1a54aba..e2c4560 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)