zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hanm <...@git.apache.org>
Subject [GitHub] zookeeper pull request #179: ZOOKEEPER-2693: DOS attack on wchp/wchc four le...
Date Fri, 03 Mar 2017 21:25:24 GMT
Github user hanm commented on a diff in the pull request:

    https://github.com/apache/zookeeper/pull/179#discussion_r104245364
  
    --- Diff: src/java/test/org/apache/zookeeper/ZKTestCase.java ---
    @@ -51,6 +51,12 @@ public void starting(FrameworkMethod method) {
                 // accidentally attempting to start multiple admin servers on the
                 // same port.
                 System.setProperty("zookeeper.admin.enableServer", "false");
    +            // ZOOKEEPER-2693 disables all 4lw by default.
    +            // Here we enable the 4lw which ZooKeeper tests depends.
    +            System.setProperty("zookeeper.4lw.commands.whitelist",
    +                    "ruok, envi, conf, stat, srvr, cons, dump," +
    --- End diff --
    
    updated tests to address the concern of using explicit list in base test case.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message