[FLINK-5640] [build] Configure the explicit Unit Test file suffix This closes #3211
Project: http://git-wip-us.apache.org/repos/asf/flink/repo Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/4ce2557d Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/4ce2557d Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/4ce2557d Branch: refs/heads/master Commit: 4ce2557da623d84f160fa3993b8e27590752fedb Parents: 1456f0a Author: shijinkui <[email protected]> Authored: Fri Feb 17 00:24:20 2017 +0800 Committer: Stephan Ewen <[email protected]> Committed: Mon Feb 20 01:01:23 2017 +0100 ---------------------------------------------------------------------- pom.xml | 7 +++++++ 1 file changed, 7 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flink/blob/4ce2557d/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 5487d70..e6fae81 100644 --- a/pom.xml +++ b/pom.xml @@ -965,6 +965,8 @@ under the License. <compilerArgument>-Xlint:all</compilerArgument> </configuration> </plugin> + + <!--surefire for unit tests and integration tests--> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> @@ -980,6 +982,7 @@ under the License. <argLine>-Xms256m -Xmx800m -Dmvn.forkNumber=${surefire.forkNumber} -XX:-UseGCOverheadLimit</argLine> </configuration> <executions> + <!--execute all the unit tests--> <execution> <id>default-test</id> <phase>test</phase> @@ -987,12 +990,16 @@ under the License. <goal>test</goal> </goals> <configuration> + <includes> + <include>**/*Test.*</include> + </includes> <excludes> <exclude>**/*ITCase.*</exclude> <exclude>${flink-fast-tests-pattern}</exclude> </excludes> </configuration> </execution> + <!--execute all the integration tests--> <execution> <id>integration-tests</id> <phase>integration-test</phase>
