-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Fix issue with cert being finalized in data protection test #29097
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
Conversation
| } | ||
|
|
||
| WithUniqueTempDirectory(directory => | ||
| using (var imported = new X509Certificate2(filePath, "password", X509KeyStorageFlags.Exportable)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔑
captainsafia
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like the only meaningful change is wrapped up the certificate reference in a disposable clause.
That seems like a reasonable fix for the memory issue to me.
|
Hello @HaoK! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
Fixes #26871
Root cause appears to be Arm64 having less memory so the cert was getting finalized, see #26871 (comment) for more details