-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Use localhost instead of container hostname #748
Conversation
2dbb1cf
to
0d65fc2
Compare
0d65fc2
to
078eb88
Compare
cc @Fokko Do we still this change? I see your comment #719 (comment) here. |
@liurenjie1024 unfortunately yes, the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @Fokko for this pr, but I have some concerns with this approach as it may block parallel running of integration tests, would you mind waiting for some time so that I can have a try to solve the problem while allowing parallel running of integration tests?
@liurenjie1024 Ah, yes, that would be one of the drawbacks @nastra Asking for a favor. Could you clone this repository, and try to run |
@Fokko you're not alone. Those tests fail for me too using native Docker on OSX due to networking:
|
Hi, @Fokko @ZENOTME helped to did some investigation and found that the reason we can't use current approach is a known limitation: https://docs.docker.com/desktop/features/networking/#per-container-ip-addressing-is-not-possible While the method in this pr works for one integration tests, it prevents us from running integration tests in parallel in future. I have some concerns with this pr, is asking developer to use orbstack on mac a reasonable solution to you? |
I've switched to Orbstack and it works pretty well :) |
These changes allow me to also run the tests locally.
Closes #719