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:
parent
c8deb15b38
commit
a1e81613e6
1 changed files with 3 additions and 0 deletions
|
|
@ -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") { }
|
||||
|
|
|
|||
Loading…
Reference in a new issue