Closed slahn closed 4 months ago
we don't control these packages:
testcontainers-core==0.0.1rc1
testcontainers-elasticsearch==0.0.1rc1
you can install testcontainers[elasticsearch]
- this is maintained. i think you will be able to test sooner than i can with the updated package.
Oh! I have no idea how we came to use the wrong packages, but thanks for letting me know.
This bug was fixed in commit 0f9ad24.
I have no idea how we came to use...
We don't control those packages anymore
Describe the bug
The
ElasticSearchContainer._connect
method raises aurllib.error.URLError
(wrapping aConnectionRefusedError
) when the container is not yet ready. This exception is not caught by the@wait_container_is_ready
decorator.Fixed by adding
urllib.error.URLError
totransient_exceptions
parameter of@wait_container_is_ready
decorator.To Reproduce
Runtime environment