namespace AcDream.Core.Net.Tests; /// /// Campaign N Slice N6 fold-in (N5 review LOW-5): test classes that mutate /// process-global state — the NetDiagnostics typed toggles /// (ProbeNet, NetDropPercent, ...) or Console.SetOut — /// must never run in parallel with any test constructing a /// WorldSession, whose production paths read those statics (the /// public constructor's LossyTransportDecorator.WrapIfConfigured /// seam, the probe-gated [net-tick]/[net-final] console /// emission in Tick/Dispose). /// /// /// DisableParallelization = true makes xunit run this collection's /// classes strictly serially, AFTER every parallel collection has finished /// — never alongside anything. Apply /// [Collection(NetProcessStaticsCollection.Name)] to any new test /// class that touches those statics. /// /// [CollectionDefinition(Name, DisableParallelization = true)] public sealed class NetProcessStaticsCollection { public const string Name = "net process statics"; }