-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Improve socket specs #6711
Improve socket specs #6711
Conversation
0168ab9
to
cb7f8bf
Compare
Some specs are lost. For example |
Was there a explicit spec for that? I can't find it... But I can add it, of course. |
8508598
to
62b585e
Compare
The specs that are now failing might be bugs, but I'm not sure.
|
62b585e
to
c771391
Compare
@straight-shoota connecting ipv6 to ipv4 is expected to fail. Binding to |
So, it's probably better not to spec this? |
The spec connecting with |
@straight-shoota whether |
The two failing specs are now marked as pending and I'll open new issues for tracking them. The fails on travisci are unrelated to this PR. |
10629cb
to
701e79f
Compare
701e79f
to
0ac35ce
Compare
Can this get a review, please? |
I added two additional specs that came up during refactoring. |
5f74b9e
to
5941ca5
Compare
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.
Thank you @straight-shoota 👍
Thank you @straight-shoota ! |
Adds new and improves existing specs for
Socket
,TCPSocket
,TCPServer
,UNIXServer
andUDPSocket
.The diff is best viewed with
-w
/&w=1
to ignore whitespace.This is still work in progress, I'm publishing it as PR to validate if the specs perform correctly on all platforms.