Files
ExecuteR/tests/Backend.Tests/CertificateStoreCollection.cs
Alphaeus Mote 32024037f4 test(tls): take back the intermediates certificate contexts import
On Windows a TLS certificate context imports its intermediates into the
Intermediate CAs store (LocalMachine's when elevated) so SChannel can send
them. Test runs left hundreds there, until chain building slowed and failed.
Tests now remove what they caused, and the classes that change stores or build
the managed chain run in one serial collection.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 22:06:06 -05:00

15 lines
517 B
C#

using Xunit;
namespace Backend.Tests;
/// <summary>
/// Tests that add certificates to the CurrentUser stores, or build the managed chain (one subject, a new key each time),
/// run on their own: Windows' chain engine fails other
/// tests' chain building now and then ("an unknown chain building error") when that happens concurrently.
/// </summary>
[CollectionDefinition(Name, DisableParallelization = true)]
public sealed class CertificateStoreCollection
{
public const string Name = "Certificate store";
}