Skip to content

Commit 2d59b65

Browse files
authored
Remove KafkaContainer startup timeout
Removed startup timeout for KafkaContainer.
1 parent 87a19e6 commit 2d59b65

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

generators/spring-cloud/generators/kafka/templates/src/test/java/_package_/config/KafkaTestContainer.java.ejs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ import org.testcontainers.junit.jupiter.Container;
3131
public interface KafkaTestContainer {
3232
@Container
3333
KafkaContainer kafkaContainer = new KafkaContainer("<%- dockerContainers.kafka %>")
34-
.withStartupTimeout(Duration.ofMinutes(6))
3534
.withEnv("KAFKA_LISTENERS", "PLAINTEXT://:9092,BROKER://:9093,CONTROLLER://:9094")
3635
.withLogConsumer(new Slf4jLogConsumer(LoggerFactory.getLogger(KafkaTestContainer.class)));
3736

0 commit comments

Comments
 (0)