Skip to content
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

Add sslHandshakeTimeoutMinDuration in the RntbdTransportClient.Options #31298

Merged
merged 4 commits into from
Oct 7, 2022

Conversation

xinlian12
Copy link
Member

Set the minimum value allowed for sslHandshake

And the final SslHandshakeTimeout = Math.max(connectionTimeout, sslHandshakeTimeoutMin)

@@ -722,6 +724,39 @@ public void verifyRequestFailures(
}
}

// TODO: add validations for other properties
@Test(groups = "unit")
Copy link
Member

Choose a reason for hiding this comment

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

I think a test case is missing where connect timeout is < default connect timeout

Copy link
Member Author

Choose a reason for hiding this comment

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

added the missing test
But I disabled the "transportClientCustomizedOptionsTests" for now as had a hard time for forcing the class to be reloaded - @FabianMeiswinkel any suggestions here?

Copy link
Member

@FabianMeiswinkel FabianMeiswinkel left a comment

Choose a reason for hiding this comment

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

LGTM - except for missing changelog and one small comment on test coverage

@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@xinlian12 xinlian12 changed the title setSslhandshakeMin Add sslHandshakeTimeoutMinDuration in the RntbdTransportClient.Options Oct 7, 2022
@xinlian12 xinlian12 merged commit da3ca1f into Azure:main Oct 7, 2022
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.

3 participants