Skip to content

Conversation

@mandel-macaque
Copy link
Contributor

Modifying the stack of the connection does make the tests for NWParameters to fail, since they'll not wait for the connection to be done. I had to modify the NWParamtersTests to isolate them from the changes done in the stack in other fixtures.

connectedEvent.Set ();
void ConnectionStateHandler (NWConnectionState state, NWError error)
{
Console.WriteLine ($"State is {state} and error {error}");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove, or comment, debugging output


void ConnectionStateHandler (NWConnectionState state, NWError error)
{
Console.WriteLine ($"State is {state} and error {error}");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

host = "www.google.com";
using (var parameters = NWParameters.CreateUdp ())
using (var endpoint = NWEndpoint.Create (host, "80"))
{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor: { on same line as using

@monojenkins
Copy link
Collaborator

Build failure
Build was aborted

Build succeeded
API Diff (from stable)
API Diff (from PR only) (no change)
Generator Diff (only version changes)

}
}

#endif No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor: missing EOL for last line.

@monojenkins
Copy link
Collaborator

Build success
Build succeeded
API Diff (from stable)
API Diff (from PR only) (no change)
Generator Diff (only version changes)
Test run succeeded

@spouliot spouliot merged commit bed3770 into dotnet:xcode10 Sep 12, 2018
@spouliot spouliot added this to the xcode10 milestone Sep 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants