hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charles Lamb <cl...@cloudera.com>
Subject Re: How to run hdfs unit tests ?
Date Tue, 21 Oct 2014 11:52:25 GMT
On 10/21/2014 7:33 AM, xiaohe lan wrote:
> Hello,
> I am new to hdfs, I want to know how to run a specific unit test of hdfs. I
> have imported hdfs project into IntelliJ IDEA, I can run a test just by
> right-click on the test and select Run test. Can I run a unit test from
> terminal and how ? I want to learn some hdfs APIs so I may add some code to
> the unit tests code and some a test.
> Thanks,
> Xiaohe
Hi Xiaohe,

mvn test -Dtest=TestSomeTest


mvn test -Dtest=TestEncryptionZones


View raw message