Skip to content

Commit 6af8e5b

Browse files
authored
Increase Kafka container startup timeout to 6 minutes
1 parent cdf7365 commit 6af8e5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

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

0 commit comments

Comments
 (0)