Wait longer for Redpanda to start

This commit is contained in:
Andy Wilkinson 2023-04-18 21:43:25 +01:00
parent 7b3e687f05
commit 5ec03d2b34

View File

@ -53,7 +53,8 @@ class RedpandaContainerConnectionDetailsFactoryIntegrationTests {
@Container
@ServiceConnection
static final RedpandaContainer redpanda = new RedpandaContainer(DockerImageNames.redpanda());
static final RedpandaContainer redpanda = new RedpandaContainer(DockerImageNames.redpanda())
.withStartupTimeout(Duration.ofMinutes(2));
@Autowired
KafkaTemplate<String, String> kafkaTemplate;