Files
ScadaBridge/tests/ZB.MOM.WW.ScadaBridge.DataConnectionLayer.Tests/DataConnectionManagerActorCollection.cs
T

13 lines
728 B
C#

namespace ZB.MOM.WW.ScadaBridge.DataConnectionLayer.Tests;
/// <summary>
/// Marks DataConnectionManagerActorTests as non-parallel with any other tests in the
/// same collection. This prevents CPU-contention-induced timing flakiness in DCL002
/// (and neighbours) where actor message dispatch + async I/O must complete before an
/// AwaitCondition deadline. xUnit runs all tests in the same [Collection] sequentially
/// within the assembly; the generous 30 s AwaitCondition ceiling handles cross-assembly
/// contention when the full solution test suite runs in parallel.
/// </summary>
[CollectionDefinition("DataConnectionManagerActor", DisableParallelization = true)]
public class DataConnectionManagerActorCollection { }