From a1e81613e6d6df96a211264f4e635ac97bd99844 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Sat, 17 Oct 2026 16:18:41 +0200 Subject: [PATCH] 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 --- tests/Aetheria.Shared.Tests/ProductLinesCommandTests.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/Aetheria.Shared.Tests/ProductLinesCommandTests.cs b/tests/Aetheria.Shared.Tests/ProductLinesCommandTests.cs index a036138f2..53b8fe773 100644 --- a/tests/Aetheria.Shared.Tests/ProductLinesCommandTests.cs +++ b/tests/Aetheria.Shared.Tests/ProductLinesCommandTests.cs @@ -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") { }