Skip to content

Commit

Permalink
ci: workaround elastic#66326
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v committed May 25, 2020
1 parent 7f58702 commit 4dea197
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions x-pack/plugins/apm/e2e/run-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,12 @@ echo "\n${bold}Waiting for Kibana to start...${normal}"
echo "Note: you need to start Kibana manually. Find the instructions at the top."
yarn wait-on -i 500 -w 500 http-get://admin:changeme@localhost:$KIBANA_PORT/api/status > /dev/null

## Workaround to wait for the http server running
## See: https://github.com/elastic/kibana/issues/66326
if [ -e kibana.log ] ; then
grep -m 1 "http server running" <(tail -f -n +1 kibana.log)
fi

echo "\n✅ Setup completed successfully. Running tests...\n"

#
Expand Down

0 comments on commit 4dea197

Please sign in to comment.