Add timeout delays for docker test
Ouverte
- Langage dominant
- Scala
- Étoiles
- 47
- Forks
- 14
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
Sometimes, docker tests using testcontainers fail with an error message like org.testcontainers.containers.ContainerLaunchException: Timed out waiting for URL to be accessible
This may be fixed by adding a startup delay, e.g.
```
container = new KafkaContainer()
container.withStartupTimeout(Duration.of(5, ChronoUnit.MINUTES))
container.start();
```
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.