Skip to content

Commit

Permalink
[FLINK-5640] [build] Configure the explicit Unit Test file suffix
Browse files Browse the repository at this point in the history
This closes apache#3211
  • Loading branch information
shijinkui authored and StephanEwen committed Feb 20, 2017
1 parent 1456f0a commit 4ce2557
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -980,19 +982,24 @@ 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>
<goals>
<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>
Expand Down

0 comments on commit 4ce2557

Please sign in to comment.