Skip to content

Commit 51f6ebe

Browse files
committed
fix(e2e): set JAVA_HOME and PATH in Pulsar setup script
1 parent 915bf90 commit 51f6ebe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scripts/e2e-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ setup_pulsar() {
116116
-e PULSAR_PREFIX_brokerClientAuthenticationParameters="token:${ADMIN_TOKEN}" \
117117
-v "$TOKEN_SECRET_FILE:/pulsarctl/test/auth/token/secret.key:ro" \
118118
"$PULSAR_IMAGE" \
119-
bash -lc 'set -- $(hostname -i); export PULSAR_PREFIX_advertisedAddress=$1; bin/apply-config-from-env.py /pulsar/conf/standalone.conf; exec bin/pulsar standalone' \
119+
bash -lc 'set -- $(hostname -i); export PULSAR_PREFIX_advertisedAddress=$1; export JAVA_HOME=/opt/jvm; export PATH="$JAVA_HOME/bin:$PATH"; bin/apply-config-from-env.py /pulsar/conf/standalone.conf; exec bin/pulsar standalone' \
120120
>/dev/null
121121

122122
log "waiting for pulsar to be ready"

0 commit comments

Comments
 (0)