You can check build.xml for various targets, but for your question:

ant -Dtestcase=ReconfigRecoveryTest test-core-java

branch-3.5 and master also supports running a single test method
ant -Dtestcase=ReconfigRecoveryTest
-Dtest.method=testCurrentObserverIsParticipantInNewConfig test-core-java



On Mon, Jun 12, 2017 at 12:28 AM, 蒋家福 <[email protected]> wrote:

> How can I run a single ZooKeeper unit test class in command line? I'm
> newbie to ant. Hope someone can help, thanks.
>
>
>
>
> Jiang Jiafu




-- 
Cheers
Michael.

Reply via email to