Browse Source

ZOOKEEPER-3766: [ADDENDUM] Fix TestSASLAuth failure

Reviewers: ctubbsii
Author: kezhuw
Closes #2240 from kezhuw/ZOOKEEPER-3766-hotfix-fix-TestSASLAuth-failure
Kezhu Wang 1 month ago
parent
commit
b86ccf19cf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      zookeeper-client/zookeeper-client-c/tests/zkServer.sh

+ 1 - 1
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