You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by se...@apache.org on 2017/02/20 11:06:59 UTC

[3/9] flink git commit: [FLINK-5640] [build] Configure the explicit Unit Test file suffix

[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/efa5e9d4
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/efa5e9d4
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/efa5e9d4

Branch: refs/heads/release-1.2
Commit: efa5e9d4b83277a34ac20d1a258727b7008a8ec1
Parents: fc5a20a
Author: shijinkui <sh...@huawei.com>
Authored: Fri Feb 17 00:24:20 2017 +0800
Committer: Stephan Ewen <se...@apache.org>
Committed: Mon Feb 20 02:07:54 2017 +0100

----------------------------------------------------------------------
 pom.xml | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/efa5e9d4/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 50a25f2..a1bca92 100644
--- a/pom.xml
+++ b/pom.xml
@@ -958,6 +958,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>
@@ -973,6 +975,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>
@@ -980,12 +983,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>