Skip to content

Make DataProtection certificate tests assertions stricter about which cert is used in the test#9224

Closed
natemcmaster wants to merge 1 commit intomasterfrom
namc/dp-flaky-test
Closed

Make DataProtection certificate tests assertions stricter about which cert is used in the test#9224
natemcmaster wants to merge 1 commit intomasterfrom
namc/dp-flaky-test

Conversation

@natemcmaster
Copy link
Contributor

Addresses aspnet/AspNetCore-Internal#2177

This test only fails on some CI agents. As these tests rely on a certificate store shared by other builds, it's probably that the failures are the result of some other dotnet team adding a cert called 'TestCert' into the X509Store.

This changes the tests to pull from the X509Store the exact cert we want the test to use.

@natemcmaster natemcmaster requested review from Eilon and dougbu April 9, 2019 22:25
@natemcmaster natemcmaster marked this pull request as ready for review April 9, 2019 22:28
@natemcmaster
Copy link
Contributor Author

/azp run AspNetCore-ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Contributor

@dougbu dougbu left a comment

Choose a reason for hiding this comment

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

🥇

@natemcmaster
Copy link
Contributor Author

Ok, nope, that wasn't the right solution for the problem. Will continue to investigate.

@natemcmaster natemcmaster deleted the namc/dp-flaky-test branch April 10, 2019 00:22
@natemcmaster natemcmaster restored the namc/dp-flaky-test branch May 10, 2019 21:39
@natemcmaster natemcmaster deleted the namc/dp-flaky-test branch May 10, 2019 21:40
@natemcmaster natemcmaster restored the namc/dp-flaky-test branch May 10, 2019 21:40
@natemcmaster natemcmaster deleted the namc/dp-flaky-test branch May 10, 2019 21:41
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.

2 participants