Skip to content

Commit

Permalink
[FLINK-21338][test] Relax ITCase naming constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
zentol committed Feb 16, 2021
1 parent 55cc9bd commit 04c7f08
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
5 changes: 4 additions & 1 deletion flink-end-to-end-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,11 @@ under the License.
</goals>
<configuration>
<includes>
<include>**/*ITCase.*</include>
<include>**/*.*</include>
</includes>
<excludes>
<exclude>${test.unit.pattern}</exclude>
</excludes>
<!-- Disable all tests by default.
Uses a separate property to make it configurable from the command-line. -->
<groups>${includeE2E}</groups>
Expand Down
8 changes: 6 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ under the License.

<!-- Can be set to any value to reproduce a specific build. -->
<test.randomization.seed>${git.commit.id}</test.randomization.seed>
<test.unit.pattern>**/*Test.*</test.unit.pattern>
</properties>

<dependencies>
Expand Down Expand Up @@ -1607,7 +1608,7 @@ under the License.
</goals>
<configuration>
<includes>
<include>**/*Test.*</include>
<include>${test.unit.pattern}</include>
</includes>
</configuration>
</execution>
Expand All @@ -1620,8 +1621,11 @@ under the License.
</goals>
<configuration>
<includes>
<include>**/*ITCase.*</include>
<include>**/*.*</include>
</includes>
<excludes>
<exclude>${test.unit.pattern}</exclude>
</excludes>
<reuseForks>false</reuseForks>
</configuration>
</execution>
Expand Down

0 comments on commit 04c7f08

Please sign in to comment.