You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2022/04/26 08:34:09 UTC
[flink] branch master updated: [FLINK-27389][tests] Move flink-tests test utils to flink-test-utils
This is an automated email from the ASF dual-hosted git repository.
chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/master by this push:
new 8edc7976309 [FLINK-27389][tests] Move flink-tests test utils to flink-test-utils
8edc7976309 is described below
commit 8edc7976309d7ca000602fdf35fa68fae7242711
Author: Chesnay Schepler <ch...@apache.org>
AuthorDate: Mon Apr 25 12:20:33 2022 +0200
[FLINK-27389][tests] Move flink-tests test utils to flink-test-utils
---
flink-connectors/flink-connector-kafka/pom.xml | 8 --------
flink-connectors/flink-connector-kinesis/pom.xml | 7 -------
flink-table/flink-table-planner/pom.xml | 9 ---------
.../main}/java/org/apache/flink/test/util/SuccessException.java | 0
.../src/main}/java/org/apache/flink/test/util/TestUtils.java | 0
5 files changed, 24 deletions(-)
diff --git a/flink-connectors/flink-connector-kafka/pom.xml b/flink-connectors/flink-connector-kafka/pom.xml
index 03f7663d3c7..bc6cbfabf36 100644
--- a/flink-connectors/flink-connector-kafka/pom.xml
+++ b/flink-connectors/flink-connector-kafka/pom.xml
@@ -132,14 +132,6 @@ under the License.
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-tests</artifactId>
- <version>${project.version}</version>
- <type>test-jar</type>
- <scope>test</scope>
- </dependency>
-
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-test-utils</artifactId>
diff --git a/flink-connectors/flink-connector-kinesis/pom.xml b/flink-connectors/flink-connector-kinesis/pom.xml
index 13dcf73cc4c..8cf646ed35a 100644
--- a/flink-connectors/flink-connector-kinesis/pom.xml
+++ b/flink-connectors/flink-connector-kinesis/pom.xml
@@ -177,13 +177,6 @@ under the License.
<scope>test</scope>
<type>test-jar</type>
</dependency>
- <dependency>
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-tests</artifactId>
- <version>${project.version}</version>
- <type>test-jar</type>
- <scope>test</scope>
- </dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-connector-test-utils</artifactId>
diff --git a/flink-table/flink-table-planner/pom.xml b/flink-table/flink-table-planner/pom.xml
index aca9abbf97a..41762c8526b 100644
--- a/flink-table/flink-table-planner/pom.xml
+++ b/flink-table/flink-table-planner/pom.xml
@@ -215,15 +215,6 @@ under the License.
<scope>test</scope>
</dependency>
- <dependency>
- <!-- SuccessException used in TestValuesTableFactory -->
- <groupId>org.apache.flink</groupId>
- <artifactId>flink-tests</artifactId>
- <version>${project.version}</version>
- <type>test-jar</type>
- <scope>test</scope>
- </dependency>
-
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-table-common</artifactId>
diff --git a/flink-tests/src/test/java/org/apache/flink/test/util/SuccessException.java b/flink-test-utils-parent/flink-test-utils/src/main/java/org/apache/flink/test/util/SuccessException.java
similarity index 100%
rename from flink-tests/src/test/java/org/apache/flink/test/util/SuccessException.java
rename to flink-test-utils-parent/flink-test-utils/src/main/java/org/apache/flink/test/util/SuccessException.java
diff --git a/flink-tests/src/test/java/org/apache/flink/test/util/TestUtils.java b/flink-test-utils-parent/flink-test-utils/src/main/java/org/apache/flink/test/util/TestUtils.java
similarity index 100%
rename from flink-tests/src/test/java/org/apache/flink/test/util/TestUtils.java
rename to flink-test-utils-parent/flink-test-utils/src/main/java/org/apache/flink/test/util/TestUtils.java