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

skip SslStream_ClientCertificate_SendsChain test if chain is not valid #48261

Merged
merged 2 commits into from
Feb 13, 2021

Conversation

wfurt
Copy link
Member

@wfurt wfurt commented Feb 13, 2021

turn assert to skip for now. I will keep looking into it but this should prevent CI failures. This is not really the test but pre-condition for successful execution.

contributes to #48091

@wfurt wfurt added the test-enhancement Improvements of test source code label Feb 13, 2021
@wfurt wfurt requested a review from a team February 13, 2021 06:30
@wfurt wfurt self-assigned this Feb 13, 2021
@ghost
Copy link

ghost commented Feb 13, 2021

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

Issue Details

turn assert to skip for now. I will keep looking into it but this should prevent CI failures. This is not really the test but pre-condition for successful execution.

contributes to #48091

Author: wfurt
Assignees: wfurt
Labels:

area-System.Net.Security, test enhancement

Milestone: -

@@ -371,7 +371,10 @@ public async Task SslStream_ClientCertificate_SendsChain()
chain.ChainPolicy.DisableCertificateDownloads = false;
bool chainStatus = chain.Build(clientCertificate);
// Verify we can construct full chain
Assert.True(chain.ChainElements.Count >= clientChain.Count, "chain cannot be built");
if (chain.ChainElements.Count < clientChain.Count)
Copy link
Member

Choose a reason for hiding this comment

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

You said "for now" in the description. Is there an issue this should be tracked against?

Copy link
Member Author

Choose a reason for hiding this comment

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

This will leave #48091 open so that should be used for tracking.

@wfurt wfurt merged commit a1eb1b8 into dotnet:master Feb 13, 2021
@wfurt wfurt deleted the skipChain branch February 13, 2021 21:39
@ghost ghost locked as resolved and limited conversation to collaborators Mar 15, 2021
@karelz karelz added this to the 6.0.0 milestone May 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Net.Security test-enhancement Improvements of test source code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants