-
Notifications
You must be signed in to change notification settings - Fork 744
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
Expand UDS tests #1143
Expand UDS tests #1143
Conversation
Signed-off-by: Kevin Leimkuhler <kleimkuhler@icloud.com>
Signed-off-by: Kevin Leimkuhler <kleimkuhler@icloud.com>
Signed-off-by: Kevin Leimkuhler <kleimkuhler@icloud.com>
Signed-off-by: Kevin Leimkuhler <kleimkuhler@icloud.com>
Signed-off-by: Kevin Leimkuhler <kleimkuhler@icloud.com>
Signed-off-by: Kevin Leimkuhler <kleimkuhler@icloud.com>
This will fail on MacOS, iOS, and Solaris until #1142 is merged. |
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.
Some initial comments, still need to check UnixListener
and UnixStream
tests. Overall it looks good.
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.
Another small comment.
Also in #1145 I intend to remove the assert_ok
and asser_err
macros and merge expect_readiness
with expect_events
.
…ve-uds-tests Signed-off-by: Kevin Leimkuhler <kleimkuhler@icloud.com>
Signed-off-by: Kevin Leimkuhler <kleimkuhler@icloud.com>
Signed-off-by: Kevin Leimkuhler <kleimkuhler@icloud.com>
Signed-off-by: Kevin Leimkuhler <kleimkuhler@icloud.com>
Can you rebase this on master? GitHub says there are conflicts. If its the same thing as last time (when I couldn't rebase, but you could), feel free to merge. |
A few issues have been opened related to the recently added UDS resources. The
issues are all behavior that tests should have caught. This PR splits
uds.rs
into
unix_stream.rs
,unix_listener.rs
, andunix_datagram.rs
test files.Each of these test files tests the methods on it's respective resource as well
as
mio::Source
implementations.Signed-off-by: Kevin Leimkuhler kleimkuhler@icloud.com