JasonLi-cn commented on issue #451:
URL: https://github.com/apache/iceberg-rust/issues/451#issuecomment-2220731402

   > Thanks @JasonLi-cn for raising this. I can run tests on macos in main's 
latest branch, and here is my environment:
   > 
   > 1. m3 pro
   > 2. orbstack 1.6.4, when I run `docker --version` it shows
   > 
   > ```shell
   > Docker version 26.1.3, build b72abbb
   > ```
   > 
   > According to [this 
post](https://stackoverflow.com/questions/40801772/what-is-the-difference-between-ports-and-expose-in-docker-compose),
 `EXPOSE` should work since it expose ports in another ip, and 
[here](https://github.com/apache/iceberg-rust/blob/9b8f7913e8b3136f346ab9aea60ab5c2512c5f0d/crates/catalog/glue/tests/glue_catalog_test.rs#L59)
 is how we discover that actual ip in test. Fixed port reflection may not work 
since if we run two integration tests together, say, hms and glue, the ports 
may conflict and tests will fail.
   > 
   > I would suggest to do following to have another try:
   > 
   > 1. Update to latest main, we have recently fixed [discussion: Refactor our 
integration tests to make it more scalable. 
#425](https://github.com/apache/iceberg-rust/issues/425) and it makes tests on 
mac more stable.
   > 2. Use orbstack to have a try.
   
   It's work. Thank you @liurenjie1024


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to