Open mixnblend opened 2 months ago
Having a same issue(
facing same issue when ran on gitlab ci (ubuntu) , issue is for both kafka and redpanda modules .
Could not start kafka container start container: started hook: copy starter script: wait for exposed port: get state: Get "http://docker:2375/v1.44/containers/69aa9d728f56052c537a2e23a125171ff9a5ac26421b27f1156d73de063cb235/json": context deadline exceeded
after reverting to
github.com/testcontainers/testcontainers-go/modules/kafka v0.32.0
issue resolved for me .
@VRmnv Are you also on Colima, or is this on Docker? @harsh1231 Reporting it for on Ubuntu suggest the usage of Docker CE (but possibly DinD?), so I don't think this issue is specifically Colima related.
Testcontainers version
0.33.0
Using the latest Testcontainers version?
Yes
Host OS
Mac
Host arch
ARM
Go version
1.22
Docker version
Docker info
What happened?
In version 0.32.0 integration tests were passing with a KafkaContainer. In 0.33.0 the following lines in the Kafka module at the top of
copyStarterScript
result in the context deadline being exceeded and the test failing. If I remove them my tests pass again.The Kafka container I am creating has the following properties:
The image for the container is
confluentinc/confluent-local:7.7.0
.I suspect this may have to do with me using Colima on a Mac and host port mapping, what is confusing to me is that if I comment those lines out and pass the following in my container params then the tests still pass.
Relevant log output
Additional information
No response