Skip to content

Commit

Permalink
Closes #68055 by detecting the local Kibana version and using that as (
Browse files Browse the repository at this point in the history
…#68198) (#68214)

the stack version for e2e tests.
  • Loading branch information
ogupte authored Jun 4, 2020
1 parent 47f2479 commit 1c4883d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion x-pack/plugins/apm/e2e/run-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ APM_IT_DIR="./tmp/apm-integration-testing"

cd ${E2E_DIR}

KIBANA_VERSION=$(node -p "require('../../../package.json').version")

#
# Ask user to start Kibana
##################################################
Expand Down Expand Up @@ -60,7 +62,8 @@ fi

# Start apm-integration-testing
echo "Starting docker-compose"
${APM_IT_DIR}/scripts/compose.py start master \
echo "Using stack version: ${KIBANA_VERSION}"
${APM_IT_DIR}/scripts/compose.py start $KIBANA_VERSION \
--no-kibana \
--elasticsearch-port $ELASTICSEARCH_PORT \
--apm-server-port=$APM_SERVER_PORT \
Expand Down

0 comments on commit 1c4883d

Please sign in to comment.