This is an automated email from the ASF dual-hosted git repository.
tison pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/curator.git
The following commit(s) were added to refs/heads/master by this push:
new dc1cd9f5 Enable four letter word commands in testing server
dc1cd9f5 is described below
commit dc1cd9f5f6985dd1aa04f51c8af4de7ba68a955c
Author: tison <[email protected]>
AuthorDate: Wed Sep 13 22:50:12 2023 +0800
Enable four letter word commands in testing server
---
.../java/org/apache/curator/test/ZooKeeperServerEmbeddedAdapter.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/curator-test/src/main/java/org/apache/curator/test/ZooKeeperServerEmbeddedAdapter.java
b/curator-test/src/main/java/org/apache/curator/test/ZooKeeperServerEmbeddedAdapter.java
index 553c4b5c..3954fc71 100644
---
a/curator-test/src/main/java/org/apache/curator/test/ZooKeeperServerEmbeddedAdapter.java
+++
b/curator-test/src/main/java/org/apache/curator/test/ZooKeeperServerEmbeddedAdapter.java
@@ -46,6 +46,7 @@ public class ZooKeeperServerEmbeddedAdapter implements
ZooKeeperMainFace {
try {
final Properties properties = configBuilder.buildProperties();
properties.put("admin.enableServer", "false");
+ properties.put("4lw.commands.whitelist", "*");
final Path dataDir = Paths.get(properties.getProperty("dataDir"));
zooKeeperEmbedded = ZooKeeperServerEmbedded.builder()