Hadoop requires that the test class name start with "Test". In
hadoop-project/pom.xml, we override the default Surefire include pattern:
**/Test*.java
Chris Nauroth
Hortonworks
http://hortonworks.com/
On 2/25/15, 4:25 PM, "Andrew Wang" wrote:
>Hi Lipeng,
>
>Note that Surefire only p
Hi Lipeng,
Note that Surefire only picks up tests that match the following:
By default, the Surefire Plugin will automatically include all test classes
with the following wildcard patterns:
- "**/Test*.java" - includes all of its subdirectories and all Java
filenames that start with "Test"
Hi Charles,
Thanks for your reply!
I run "mvn test -Dtest=MiniDFSClusterManager", but no test code was executed.
Here is the output:
---
T E S T S
---
---
On 2/25/2015 5:35 PM, Lipeng Wan wrote:
Dear all,
I'm a beginner of HDFS development and trying to write my own test
code of HDFS. For example, I modified the MiniDFSClusterManager class
a little bit and try to execute it from command line. When I run "mvn
test" under the hadoop-hdfs directory,
Dear all,
I'm a beginner of HDFS development and trying to write my own test
code of HDFS. For example, I modified the MiniDFSClusterManager class
a little bit and try to execute it from command line. When I run "mvn
test" under the hadoop-hdfs directory, it seems like all the existing
test code c