Skip to content

Commit

Permalink
[hotfix] Remove unused test dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
AHeise committed Sep 23, 2024
1 parent 1b02ce8 commit 2ee9b9a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 48 deletions.
26 changes: 0 additions & 26 deletions flink-connector-kafka/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -133,32 +133,6 @@ under the License.
<type>test-jar</type>
</dependency>


<dependency>
<!-- include kafka server for tests -->
<groupId>org.apache.kafka</groupId>
<artifactId>kafka_${scala.binary.version}</artifactId>
<version>${kafka.version}</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</exclusion>
<exclusion>
<groupId>io.dropwizard.metrics</groupId>
<artifactId>metrics-core</artifactId>
</exclusion>
</exclusions>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>${zookeeper.version}</version>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>kafka</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,8 @@
import java.util.List;
import java.util.Properties;
import java.util.Set;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicReference;

import scala.concurrent.duration.FiniteDuration;

import static org.assertj.core.api.Assertions.fail;

/**
Expand Down Expand Up @@ -92,8 +89,6 @@ public abstract class KafkaTestBase extends TestLogger {

public static Properties standardProps;

public static FiniteDuration timeout = new FiniteDuration(10, TimeUnit.SECONDS);

public static KafkaTestEnvironment kafkaServer;

public static List<KafkaClusterTestEnvMetadata> kafkaClusters = new ArrayList<>();
Expand Down
17 changes: 0 additions & 17 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ under the License.
<properties>
<flink.version>1.17.0</flink.version>
<kafka.version>3.4.0</kafka.version>
<zookeeper.version>3.7.2</zookeeper.version>
<confluent.version>7.4.4</confluent.version>

<jackson-bom.version>2.15.2</jackson-bom.version>
Expand Down Expand Up @@ -232,22 +231,6 @@ under the License.
<version>${kafka.version}</version>
</dependency>

<dependency>
<groupId>org.apache.zookeeper</groupId>
<artifactId>zookeeper</artifactId>
<version>${zookeeper.version}</version>
<exclusions>
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
</exclusions>
</dependency>

<dependency>
<groupId>org.xerial.snappy</groupId>
<artifactId>snappy-java</artifactId>
Expand Down

0 comments on commit 2ee9b9a

Please sign in to comment.