Skip to content

Commit

Permalink
fix StartEmbeddedKafka
Browse files Browse the repository at this point in the history
  • Loading branch information
patschuh committed Apr 17, 2024
1 parent 1f014de commit 357c4b4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 121 deletions.
26 changes: 0 additions & 26 deletions src/test/java/at/esque/kafka/dialogs/TestDataProducer3.java

This file was deleted.

5 changes: 4 additions & 1 deletion src/test/java/kafka/StartEmbeddedKafka.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import org.junit.ClassRule;
import org.junit.Ignore;
import org.junit.Test;
import org.springframework.kafka.test.EmbeddedKafkaBroker;
import org.springframework.kafka.test.rule.EmbeddedKafkaRule;

import static com.google.code.tempusfugit.concurrency.ThreadUtils.sleep;
Expand All @@ -13,10 +14,12 @@ public class StartEmbeddedKafka {

@ClassRule
public static EmbeddedKafkaRule embeddedKafkaRule =
new WindowsEmbeddedKafkaRule(1, true, "test.me").kafkaPorts(59000);
new EmbeddedKafkaRule(1, true, "test.me").kafkaPorts(59000);

@Test
public void startKafkaForManualTestsLaterWriterRealTests() {
EmbeddedKafkaBroker embeddedKafka = embeddedKafkaRule.getEmbeddedKafka();
embeddedKafka.afterPropertiesSet();
sleep(seconds(60));
}
}
94 changes: 0 additions & 94 deletions src/test/java/kafka/WindowsEmbeddedKafkaRule.java

This file was deleted.

0 comments on commit 357c4b4

Please sign in to comment.