AbsaOSS / AbsaOSS/hyperdrive

Add timeout delays for docker test

Open
#269 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Scala
Stars
47
Forks
14
PR merge metrics
No merged PRs in 30d

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();
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.