You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: zookeeper-client/zookeeper-client-c/tests/zkServer.sh
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,8 @@ ZOOPORT=${ZOOPORT:-"22181"}
24
24
# Some tests are setting the maxClientConnections. When it is not set, we fallback to default 100
25
25
ZKMAXCNXNS=${ZKMAXCNXNS:-"100"}
26
26
27
+
CLIENT_AUTH=${CLIENT_AUTH:-"need"}
28
+
27
29
EXTRA_JVM_ARGS=${EXTRA_JVM_ARGS:-""}
28
30
29
31
if [[ -z$1 ]];then
@@ -163,7 +165,7 @@ case $1 in
163
165
)
164
166
165
167
# ===== prepare the configs
166
-
sed "s#TMPDIR#$tmp_dir#g;s#CERTDIR#$certs_dir#g;s#MAXCLIENTCONNECTIONS#$ZKMAXCNXNS#g;s#CLIENTPORT#$ZOOPORT#g""$tests_dir/zoo.cfg">"$tmp_dir/zoo.cfg"
168
+
sed "s#TMPDIR#$tmp_dir#g;s#CERTDIR#$certs_dir#g;s#MAXCLIENTCONNECTIONS#$ZKMAXCNXNS#g;s#CLIENTPORT#$ZOOPORT#g;s#CLIENT_AUTH#$CLIENT_AUTH#g""$tests_dir/zoo.cfg">"$tmp_dir/zoo.cfg"
167
169
if [[ -n$read_only ]];then
168
170
# we can put the new server to read-only mode by starting only a single instance of a three node server
0 commit comments