Skip to content

Commit

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

the stack version for e2e tests.
  • Loading branch information
ogupte committed Jun 4, 2020
1 parent 48001fc commit b29a55c
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 b29a55c

Please sign in to comment.