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 06:38:26 GMT
Github user hanm commented on a diff in the pull request:

    --- 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 --
    Yeah I thought about this but I ended up keeping the current form to get more test coverage.

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.

View raw message