Skip to content

Commit 2ee9b9a

Browse files
committed
[hotfix] Remove unused test dependencies
1 parent 1b02ce8 commit 2ee9b9a

File tree

3 files changed

+0
-48
lines changed

3 files changed

+0
-48
lines changed

flink-connector-kafka/pom.xml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -133,32 +133,6 @@ under the License.
133133
<type>test-jar</type>
134134
</dependency>
135135

136-
137-
<dependency>
138-
<!-- include kafka server for tests -->
139-
<groupId>org.apache.kafka</groupId>
140-
<artifactId>kafka_${scala.binary.version}</artifactId>
141-
<version>${kafka.version}</version>
142-
<exclusions>
143-
<exclusion>
144-
<groupId>org.slf4j</groupId>
145-
<artifactId>slf4j-api</artifactId>
146-
</exclusion>
147-
<exclusion>
148-
<groupId>io.dropwizard.metrics</groupId>
149-
<artifactId>metrics-core</artifactId>
150-
</exclusion>
151-
</exclusions>
152-
<scope>test</scope>
153-
</dependency>
154-
155-
<dependency>
156-
<groupId>org.apache.zookeeper</groupId>
157-
<artifactId>zookeeper</artifactId>
158-
<version>${zookeeper.version}</version>
159-
<scope>test</scope>
160-
</dependency>
161-
162136
<dependency>
163137
<groupId>org.testcontainers</groupId>
164138
<artifactId>kafka</artifactId>

flink-connector-kafka/src/test/java/org/apache/flink/streaming/connectors/kafka/KafkaTestBase.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,8 @@
5555
import java.util.List;
5656
import java.util.Properties;
5757
import java.util.Set;
58-
import java.util.concurrent.TimeUnit;
5958
import java.util.concurrent.atomic.AtomicReference;
6059

61-
import scala.concurrent.duration.FiniteDuration;
62-
6360
import static org.assertj.core.api.Assertions.fail;
6461

6562
/**
@@ -92,8 +89,6 @@ public abstract class KafkaTestBase extends TestLogger {
9289

9390
public static Properties standardProps;
9491

95-
public static FiniteDuration timeout = new FiniteDuration(10, TimeUnit.SECONDS);
96-
9792
public static KafkaTestEnvironment kafkaServer;
9893

9994
public static List<KafkaClusterTestEnvMetadata> kafkaClusters = new ArrayList<>();

pom.xml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ under the License.
5252
<properties>
5353
<flink.version>1.17.0</flink.version>
5454
<kafka.version>3.4.0</kafka.version>
55-
<zookeeper.version>3.7.2</zookeeper.version>
5655
<confluent.version>7.4.4</confluent.version>
5756

5857
<jackson-bom.version>2.15.2</jackson-bom.version>
@@ -232,22 +231,6 @@ under the License.
232231
<version>${kafka.version}</version>
233232
</dependency>
234233

235-
<dependency>
236-
<groupId>org.apache.zookeeper</groupId>
237-
<artifactId>zookeeper</artifactId>
238-
<version>${zookeeper.version}</version>
239-
<exclusions>
240-
<exclusion>
241-
<groupId>log4j</groupId>
242-
<artifactId>log4j</artifactId>
243-
</exclusion>
244-
<exclusion>
245-
<groupId>org.slf4j</groupId>
246-
<artifactId>slf4j-log4j12</artifactId>
247-
</exclusion>
248-
</exclusions>
249-
</dependency>
250-
251234
<dependency>
252235
<groupId>org.xerial.snappy</groupId>
253236
<artifactId>snappy-java</artifactId>

0 commit comments

Comments
 (0)