You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Abmar Barros (JIRA)" <ji...@apache.org> on 2010/08/16 08:27:15 UTC

[jira] Commented: (ZOOKEEPER-492) the tests should have their own log4j.properties

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12898802#action_12898802 ] 

Abmar Barros commented on ZOOKEEPER-492:
----------------------------------------

I have just checked out the ZooKeeper trunk in Eclipse (running on Windows) and 3/5 tests from the QuorumPeerMainTest fail due to a NullPointerException while recovering CONSOLE appender. Is this supposed to happen?

> the tests should have their own log4j.properties
> ------------------------------------------------
>
>                 Key: ZOOKEEPER-492
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-492
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: tests
>    Affects Versions: 3.1.1, 3.2.0
>            Reporter: Patrick Hunt
>            Priority: Minor
>             Fix For: 3.4.0
>
>
> the tests currently rely (QuorumPeerMainTest in particular) on conf/log4j.properties. if the user changes this file
> and then runs the tests the tests may fail. the tests should have their own log4j.properties maintained w/in the test
> directory itself, separate from conf/log4j.properties

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.