@@ -82,6 +82,8 @@ under the License.
82
82
<project .reporting.outputEncoding>UTF-8</project .reporting.outputEncoding>
83
83
<!-- Mutable name of the hadoop shading artifact. The module name can contain a scala version suffix. -->
84
84
<shading-artifact .name>error</shading-artifact .name>
85
+ <!-- Internal property to reduce build times on TravisCi -->
86
+ <flink-fast-tests-pattern >never-match-me</flink-fast-tests-pattern >
85
87
<!-- The shading artifact module name can be used as a module name. it does not get a scala version suffix -->
86
88
<shading-artifact-module .name>error</shading-artifact-module .name>
87
89
<hadoop-one .version>1.2.1</hadoop-one .version>
@@ -213,6 +215,7 @@ under the License.
213
215
<artifactId >avro</artifactId >
214
216
<version >1.7.6</version >
215
217
</dependency >
218
+
216
219
<dependency >
217
220
<groupId >org.apache.avro</groupId >
218
221
<artifactId >avro-ipc</artifactId >
@@ -741,6 +744,23 @@ under the License.
741
744
</plugins >
742
745
</build >
743
746
</profile >
747
+ <!--
748
+ Test profile A excludes all tests starting with (A-M).
749
+ profile B excludes tests (N-Z).
750
+ This allows us to split up the test execution into separate profiles.
751
+ -->
752
+ <profile >
753
+ <id >flink-fast-tests-a</id >
754
+ <properties >
755
+ <flink-fast-tests-pattern >%regex[.*/[A-M].*]</flink-fast-tests-pattern >
756
+ </properties >
757
+ </profile >
758
+ <profile >
759
+ <id >flink-fast-tests-b</id >
760
+ <properties >
761
+ <flink-fast-tests-pattern >%regex[.*/[N-Z].*]</flink-fast-tests-pattern >
762
+ </properties >
763
+ </profile >
744
764
</profiles >
745
765
746
766
<build >
@@ -989,6 +1009,7 @@ under the License.
989
1009
<configuration >
990
1010
<excludes >
991
1011
<exclude >**/*ITCase.*</exclude >
1012
+ <exclude >${flink-fast-tests-pattern} </exclude >
992
1013
</excludes >
993
1014
</configuration >
994
1015
</execution >
@@ -1002,6 +1023,9 @@ under the License.
1002
1023
<includes >
1003
1024
<include >**/*ITCase.*</include >
1004
1025
</includes >
1026
+ <excludes >
1027
+ <exclude >${flink-fast-tests-pattern} </exclude >
1028
+ </excludes >
1005
1029
<reuseForks >false</reuseForks >
1006
1030
</configuration >
1007
1031
</execution >
0 commit comments