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

kezhuw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zookeeper.git


The following commit(s) were added to refs/heads/master by this push:
     new b86ccf19c ZOOKEEPER-3766: [ADDENDUM] Fix TestSASLAuth failure
b86ccf19c is described below

commit b86ccf19cf6c32f7e58e36754b6f3534be567727
Author: Kezhu Wang <[email protected]>
AuthorDate: Tue Apr 1 03:53:57 2025 +0800

    ZOOKEEPER-3766: [ADDENDUM] Fix TestSASLAuth failure
    
    Reviewers: ctubbsii
    Author: kezhuw
    Closes #2240 from kezhuw/ZOOKEEPER-3766-hotfix-fix-TestSASLAuth-failure
---
 zookeeper-client/zookeeper-client-c/tests/zkServer.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/zookeeper-client/zookeeper-client-c/tests/zkServer.sh 
b/zookeeper-client/zookeeper-client-c/tests/zkServer.sh
index 5fb6d99ae..4e090a3cd 100755
--- a/zookeeper-client/zookeeper-client-c/tests/zkServer.sh
+++ b/zookeeper-client/zookeeper-client-c/tests/zkServer.sh
@@ -109,7 +109,7 @@ export CLASSPATH
 read_only=
 # shellcheck disable=SC2206
 PROPERTIES=($EXTRA_JVM_ARGS "-Dzookeeper.extendedTypesEnabled=true" 
"-Dznode.container.checkIntervalMs=100")
-if [[ $1 == "xstartRequireSASLAuth" ]]; then
+if [[ $1 == "startRequireSASLAuth" ]]; then
   PROPERTIES=("-Dzookeeper.sessionRequireClientSASLAuth=true" 
"${PROPERTIES[@]}"
     
"-Dzookeeper.authProvider.1=org.apache.zookeeper.server.auth.SASLAuthenticationProvider")
   if [[ -n $2 ]]; then

Reply via email to