Skip to content

CSHARP-5695: CSOT: Unified test spec runner #1758

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

sanych-sun
Copy link
Member

No description provided.

@sanych-sun sanych-sun requested a review from a team as a code owner August 18, 2025 16:24
@sanych-sun sanych-sun requested review from ajcvickers and removed request for a team and ajcvickers August 18, 2025 16:24

var stream = new NetworkStream(socket, true);

if (_settings.ReadTimeout.HasValue)
Copy link
Member Author

Choose a reason for hiding this comment

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

Read and Write timeout now is being applied by BinaryConnection.

@@ -275,6 +281,10 @@ private void OpenHelper(OperationContext operationContext)

helper.OpenedConnection();
}
catch (OperationCanceledException) when (operationContext.IsTimedOut())
Copy link
Member Author

@sanych-sun sanych-sun Aug 18, 2025

Choose a reason for hiding this comment

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

OperationCanceledException could be thrown because of CombinedCancellationToken (see line 273), if we face it and operation context is timed out we should throw TimeoutExcpetion instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant