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
Hello,
Seems like in the example code for starting a Postgres container in https://quarkus.io/guides/getting-started-testing#launching-containers, a call to container.start() is missing. Adding it was needed in my case with a localstack container.
If it's indeed missing, adding it might save some time for others trying something similar.
Implementation ideas
No response
The text was updated successfully, but these errors were encountered:
Fixes quarkusio#26573
If container.start() is missing, it will fail with "java.lang.IllegalStateException: Mapped port can only be obtained
after the container is started", or can get a NPE at a later phase of execution, if no call to retrieving port info is
made
Fixes quarkusio#26573
If container.start() is missing, it will fail with "java.lang.IllegalStateException: Mapped port can only be obtained
after the container is started", or can get a NPE at a later phase of execution, if no call to retrieving port info is
made
(cherry picked from commit 46eb5b7)
Description
Hello,
Seems like in the example code for starting a Postgres container in https://quarkus.io/guides/getting-started-testing#launching-containers, a call to
container.start()
is missing. Adding it was needed in my case with a localstack container.If it's indeed missing, adding it might save some time for others trying something similar.
Implementation ideas
No response
The text was updated successfully, but these errors were encountered: