This is an automated email from the ASF dual-hosted git repository.

xyz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-client-cpp.git


The following commit(s) were added to refs/heads/main by this push:
     new d107d32  Pin the Pulsar version to 3.1.1 temporarily for the 
regression in Pulsar (#395)
d107d32 is described below

commit d107d32a9c1b4bf54ca7b81ab97c96e6ff037579
Author: Yunze Xu <[email protected]>
AuthorDate: Fri Feb 2 19:35:48 2024 +0800

    Pin the Pulsar version to 3.1.1 temporarily for the regression in Pulsar 
(#395)
    
    ### Motivation
    
    Pulsar 3.1.2 introduces a regression that makes two tests fail:
    
    - AuthPluginTest.testTlsDetectPulsarSslWithInvalidBroker (try #1)
    - AuthPluginTest.testTlsDetectHttpsWithInvalidBroker (try #1)
    
    ### Modifications
    
    Pin the Pulsar version to 3.1.1 until there is a new Pulsar release that
    fixes the regression.
---
 pulsar-test-service-start.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pulsar-test-service-start.sh b/pulsar-test-service-start.sh
index 23f7010..9c6209e 100755
--- a/pulsar-test-service-start.sh
+++ b/pulsar-test-service-start.sh
@@ -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:latest 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:3.1.1 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:latest 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:3.1.1 sleep 3600)
 build-support/setup-test-service-container.sh $CONTAINER_ID 
start-mim-test-service-inside-container.sh
 
 echo "-- Ready to start tests"

Reply via email to