Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pulsar-test-service-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ SRC_DIR=$PWD

./pulsar-test-service-stop.sh

CONTAINER_ID=$(docker run -i --user $(id -u) -p 8080:8080 -p 6650:6650 -p 8443:8443 -p 6651:6651 --rm --detach apachepulsar/pulsar:3.1.1 sleep 3600)
CONTAINER_ID=$(docker run -i --user $(id -u) -p 8080:8080 -p 6650:6650 -p 8443:8443 -p 6651:6651 --rm --detach apachepulsar/pulsar:latest sleep 3600)
build-support/setup-test-service-container.sh $CONTAINER_ID start-test-service-inside-container.sh

docker cp $CONTAINER_ID:/pulsar/data/tokens/token.txt .test-token.txt

CONTAINER_ID=$(docker run -i --user $(id -u) -p 8081:8081 -p 6652:6652 -p 8444:8444 -p 6653:6653 --rm --detach apachepulsar/pulsar:3.1.1 sleep 3600)
CONTAINER_ID=$(docker run -i --user $(id -u) -p 8081:8081 -p 6652:6652 -p 8444:8444 -p 6653:6653 --rm --detach apachepulsar/pulsar:latest sleep 3600)
build-support/setup-test-service-container.sh $CONTAINER_ID start-mim-test-service-inside-container.sh

echo "-- Ready to start tests"
5 changes: 5 additions & 0 deletions test-conf/standalone-ssl-mim.conf
Original file line number Diff line number Diff line change
Expand Up @@ -307,3 +307,8 @@ maxMessageSize=1024000

# Disable consistent hashing to fix flaky `KeySharedConsumerTest#testMultiTopics`.
subscriptionKeySharedUseConsistentHashing=false

# It's true by default since 2.11. After https://github.com/apache/pulsar/pull/21445, we must configure
# brokerClientAuthenticationPlugin and brokerClientAuthenticationParameters correctly when enabling topic
# level policies. Otherwise, no topic could be loaded.
topicLevelPoliciesEnabled=false
9 changes: 5 additions & 4 deletions test-conf/standalone-ssl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@

### --- General broker settings --- ###

# Disable system topic
systemTopicEnabled=false
topicLevelPoliciesEnabled=false

# Zookeeper quorum connection string
zookeeperServers=

Expand Down Expand Up @@ -317,3 +313,8 @@ subscriptionKeySharedUseConsistentHashing=false

# Enable batch index ACK
acknowledgmentAtBatchIndexLevelEnabled=true

# It's true by default since 2.11. After https://github.com/apache/pulsar/pull/21445, we must configure
# brokerClientAuthenticationPlugin and brokerClientAuthenticationParameters correctly when enabling topic
# level policies. Otherwise, no topic could be loaded.
topicLevelPoliciesEnabled=false