You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Jolly Chen (JIRA)" <ji...@apache.org> on 2011/09/25 06:10:26 UTC

[jira] [Updated] (ZOOKEEPER-1203) Zookeeper systest is missing Junit Classes

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jolly Chen updated ZOOKEEPER-1203:
----------------------------------

    Attachment: ZK-1203-patch.txt

Patch supplied with suggested fix in the original description.

> Zookeeper systest is missing Junit Classes 
> -------------------------------------------
>
>                 Key: ZOOKEEPER-1203
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1203
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: tests
>            Reporter: Prashant Gokhale
>         Attachments: ZK-1203-patch.txt
>
>
> For running these tests, I am following instructions on https://github.com/apache/zookeeper/blob/trunk/src/java/systest/README.txt 
> In Step 4, when I try to run java -jar build/contrib/fatjar/zookeeper-<version>-fatjar.jar systest org.apache.zookeeper.test.system.SimpleSysTest , it throws the following error,
> Exception in thread "main" java.lang.NoClassDefFoundError: junit/framework/TestCase
> The problem is that zookeeper-dev-fatjar.jar does not contain the TestCase class.
> Patrick Hunt suggested that adding <zipgroupfileset dir="${zk.root}/build/test/lib" includes="*.jar" /> to fatjar/build.xml should solve the problem and it does.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira