-
Notifications
You must be signed in to change notification settings - Fork 937
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
fix: workaround for macOS AF_UNIX path error #8208
base: master
Are you sure you want to change the base?
Conversation
660e8ad
to
d57cb29
Compare
I think its possible to do the same thing on linux too shall we merge both the workarounds? |
Does this happen when running the integration tests? Can we also post the stack trace that you are receiving in the commit body? P.S: probably you want to remove also the merge commit and use the |
58bbd29
to
d57cb29
Compare
cool, would be good to have the stackstrace inside the commit body, just
This will help us to remember in 20 years why this commit was introduced |
d57cb29
to
7be490b
Compare
done |
@pytest.mark.openchannel('v1') @pytest.mark.openchannel('v2') def test_pay(node_factory): > l1, l2 = node_factory.line_graph(2) ... FAILED tests/test_pay.py::test_pay - OSError: AF_UNIX path too long Changelog-None: symlink the socket to a tempfile which has a shorter path Signed-off-by: Lakshya Singh <[email protected]>
7be490b
to
a5fd34d
Compare
@vincenzopalazzo any thoughts about merging both unix and mac workarounds? I think temp directory should work in both the cases. |
Not sure if we are having any problem on linux? If not, it is better to wait to find a problem before merging workarounds that required two pages of comments to remember why we are doing it, or I am missing something? |
Sounds good @vincenzopalazzo then we this one is good for merge. |
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.
Ack a5fd34d
symlink the socket to a tempfile which has a shorter path
Important
25.02 FREEZE JANUARY 31ST: Non-bugfix PRs not ready by this date will wait for 25.05.
Checklist
Before submitting the PR, ensure the following tasks are completed. If an item is not applicable to your PR, please mark it as checked: