Skip to content

Commit bef9922

Browse files
committed
Cleanup codes
1 parent 1201227 commit bef9922

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/pulsar-test-service-start.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ cd $SRC_DIR
2424

2525
IMAGE_NAME=pulsar-client-go-test:latest
2626

27+
export PULSAR_MEM="-Xms1g -Xmx1g -XX:MaxDirectMemorySize=1g"
28+
export PULSAR_STANDALONE_USE_ZOOKEEPER=1
29+
2730
if [[ -f /.dockerenv ]]; then
2831
# When running tests inside docker
2932
PULSAR_ADMIN=/pulsar/bin/pulsar-admin
@@ -38,6 +41,8 @@ else
3841
-p 6650:6650 \
3942
-p 8443:8443 \
4043
-p 6651:6651 \
44+
-e PULSAR_MEM=${PULSAR_MEM} \
45+
-e PULSAR_STANDALONE_USE_ZOOKEEPER=${PULSAR_STANDALONE_USE_ZOOKEEPER} \
4146
${IMAGE_NAME} \
4247
/pulsar/bin/pulsar standalone \
4348
--no-functions-worker --no-stream-storage

0 commit comments

Comments
 (0)