Tests: the weapon and gear command tests share one xunit collection

Run side by side they raced on shared catalog state (concurrent-collection error in the mutation job's baseline at c8deb15b). Builds: yes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-17 16:18:41 +02:00
commit a1e81613e6

View file

@ -189,6 +189,8 @@ public abstract class ProductLinesCommandTests : IDisposable
}
// One collection: the lines open the same catalog records through shared state and must not run side by side.
[Collection("ProductLinesCommand")]
public sealed class WeaponLineCommandTests : ProductLinesCommandTests
{
public WeaponLineCommandTests() : base("weapons") { }
@ -271,6 +273,7 @@ public sealed class WeaponLineCommandTests : ProductLinesCommandTests
}
}
[Collection("ProductLinesCommand")]
public sealed class GearLineCommandTests : ProductLinesCommandTests
{
public GearLineCommandTests() : base("gear") { }