Skip to content

Commit 0ef7ccc

Browse files
committed
Closes #68055 by detecting the local Kibana version and using that as
the stack version for e2e tests.
1 parent 2f67cbf commit 0ef7ccc

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

x-pack/plugins/apm/e2e/run-e2e.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ APM_IT_DIR="./tmp/apm-integration-testing"
2323

2424
cd ${E2E_DIR}
2525

26+
KIBANA_VERSION=$(node -p "require('../../../package.json').version")
27+
2628
#
2729
# Ask user to start Kibana
2830
##################################################
@@ -63,7 +65,8 @@ fi
6365

6466
# Start apm-integration-testing
6567
echo "Starting docker-compose"
66-
${APM_IT_DIR}/scripts/compose.py start master \
68+
echo "Using stack version: ${KIBANA_VERSION}"
69+
${APM_IT_DIR}/scripts/compose.py start $KIBANA_VERSION \
6770
--no-kibana \
6871
--elasticsearch-port $ELASTICSEARCH_PORT \
6972
--apm-server-port=$APM_SERVER_PORT \

0 commit comments

Comments
 (0)