You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried using the redpanda module, but after staring, the client is getting connection refused.
It seems that, in my case, there is a delay in the port being exposed.
I am using Colima to start the docker server.
To validate, I tried running the tests in the redpanda module and the same happens.
I'm attaching the logs of the tests run below.
From my experience with testcontainers, it helps adding the condition wait.ForListeningPort(defaultKafkaAPIPort) when staring the container.
I tried this and now the tests are passing.
I am gonna raise a PR.
Hey @sbuliarca have you played around with the startup time of redpanda container? I ask because I've working with this module the entire week preparing a workshop and did not notice any timeout 🤔
Hey @sbuliarca have you played around with the startup time of redpanda container? I ask because I've working with this module the entire week preparing a workshop and did not notice any timeout 🤔
I created this simple PR that adds to the redpanda condition: #1828
I see the cassandra and mongo testcontainers are doing the same, and I don't think this wait.ForListeningPort(defaultKafkaAPIPort) hurts anyway.
Testcontainers version
0.26.0
Using the latest Testcontainers version?
Yes
Host OS
MacOS Ventura 13.6
Host arch
ARM(Apple M1)
Go version
1.21.3
Docker version
Client: Docker Engine - Community Version: 24.0.2 API version: 1.42 (downgraded from 1.43) Go version: go1.20.4 Git commit: cb74dfcd85 Built: Thu May 25 20:26:27 2023 OS/Arch: darwin/arm64 Context: default Server: Engine: Version: 23.0.6 API version: 1.42 (minimum version 1.12) Go version: go1.20.8 Git commit: 9dbdbd4b6d7681bd18c897a6ba0376073c2a72ff Built: Thu Sep 7 06:11:07 2023 OS/Arch: linux/arm64 Experimental: false containerd: Version: v1.7.2 GitCommit: 0cae528dd6cb557f7201036e9f43420650207b58 runc: Version: 1.1.7 GitCommit: 860f061b76bb4fc671f0f9e900f7d80ff93d4eb7 docker-init: Version: 0.19.0 GitCommit:
Docker info
What happened?
I tried using the redpanda module, but after staring, the client is getting connection refused.
It seems that, in my case, there is a delay in the port being exposed.
I am using Colima to start the docker server.
To validate, I tried running the tests in the redpanda module and the same happens.
I'm attaching the logs of the tests run below.
From my experience with testcontainers, it helps adding the condition
wait.ForListeningPort(defaultKafkaAPIPort)
when staring the container.I tried this and now the tests are passing.
I am gonna raise a PR.
Relevant log output
Additional information
No response
The text was updated successfully, but these errors were encountered: