bharos commented on issue #9025: URL: https://github.com/apache/gravitino/issues/9025#issuecomment-3498817632
> Did you follow the [doc](https://gravitino.apache.org/docs/1.0.0/how-to-test) to use mac-docker-connector or orbstack? This issue happens because Testcontainers creates separate PostgreSQL container, not embedded in gravitino. So this fix just makes sure if there's a port mapping for Postgres container done by Docker, it takes that into consideration. As you can see in the example ``` docker run -p 32768:5432 postgres:13 # ↑ ↑ # host port container port ``` Without fix, it always tries to connect to 5432, but now it shuold get the mapped port. Also, this is backward compatible anyways, just handles another case -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
