From 7a26b9ba5ca3b73e9fb7ea6772846888a8ea2ac1 Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Wed, 23 Oct 2024 15:22:30 -0400 Subject: [PATCH] Remove accidentally committed test class --- .../kafka/test/context/Gh3585Tests.java | 27 ------------------- 1 file changed, 27 deletions(-) delete mode 100644 spring-kafka-test/src/test/java/org/springframework/kafka/test/context/Gh3585Tests.java diff --git a/spring-kafka-test/src/test/java/org/springframework/kafka/test/context/Gh3585Tests.java b/spring-kafka-test/src/test/java/org/springframework/kafka/test/context/Gh3585Tests.java deleted file mode 100644 index 2dffdfd9..00000000 --- a/spring-kafka-test/src/test/java/org/springframework/kafka/test/context/Gh3585Tests.java +++ /dev/null @@ -1,27 +0,0 @@ -package org.springframework.kafka.test.context; - -import org.junit.Test; -import org.junit.runner.RunWith; - -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.kafka.test.EmbeddedKafkaZKBroker; -import org.springframework.kafka.test.core.BrokerAddress; -import org.springframework.test.annotation.DirtiesContext; -import org.springframework.test.context.junit4.SpringRunner; - -import static org.assertj.core.api.Assertions.assertThat; - -@RunWith(SpringRunner.class) -@DirtiesContext -@EmbeddedKafka(topics = {"topic.1","topic.2"}, brokerProperties = {"listeners=PLAINTEXT://localhost:9092"}, kraft = false) -public class Gh3585Tests { - - @Autowired - private EmbeddedKafkaZKBroker kafkaBroker; - - @Test - public void testEmbeddedKafkaZKBroker() { - assertThat(this.kafkaBroker.getBrokerAddress(0)).isEqualTo(new BrokerAddress("127.0.0.1", 9092)); - } - -}