Skip to content

Define timeout for CreateSocket.Ctor_SafeHandle_Listening_Success #56717

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

Merged

Conversation

antonfirsov
Copy link
Member

Contributes to #56666. The test uses sync API-s which I didn't want to change so I wrapped the code with Task.Run(...).WaitAsync(...).

@ghost
Copy link

ghost commented Aug 2, 2021

Tagging subscribers to this area: @dotnet/ncl
See info in area-owners.md if you want to be subscribed.

Issue Details

Contributes to #56666. The test uses sync API-s which I didn't want to change so I wrapped the code with Task.Run(...).WaitAsync(...).

Author: antonfirsov
Assignees: -
Labels:

area-System.Net.Sockets

Milestone: -

}
}
}
}).WaitAsync(TimeSpan.FromSeconds(30));
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
}).WaitAsync(TimeSpan.FromSeconds(30));
}).WaitAsync(TestSettings.PassingTestTimeout);

Copy link
Member Author

Choose a reason for hiding this comment

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

I was afraid that PassingTestTimeout=10sec might be too strict on slow CI machines, but let's see where it goes :)

Copy link
Member

Choose a reason for hiding this comment

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

Oh.. I didn't realize it was 10 seconds here since Http tests are using 1 minute

@antonfirsov antonfirsov merged commit ebc0f05 into dotnet:main Aug 6, 2021
@karelz karelz added this to the 6.0.0 milestone Aug 17, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Sep 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants