From b19795461c3f2bad74c92c97b7ac7a89b2761d05 Mon Sep 17 00:00:00 2001 From: AJ Isaacs Date: Mon, 23 Nov 2026 08:01:42 -0500 Subject: [PATCH] test(ledger): keep ledger re-check tests out of parallel fill tests Undo is refused while any NestProgressForm is open in the process, and Application.OpenForms is shared across xUnit's parallel test classes. A fill-lifetime test opening a progress window could make RemoveCodes_IsOneUndoableEditThatKeepsTheLayout fail on CI with "Undo was refused." Join the "Fill operation lifetime" collection like the other undo test classes. Co-Authored-By: Claude Opus 5.5 --- OpenNest.WinForms.Tests/Forms/LedgerCodeRecheckTests.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OpenNest.WinForms.Tests/Forms/LedgerCodeRecheckTests.cs b/OpenNest.WinForms.Tests/Forms/LedgerCodeRecheckTests.cs index 2910b2fe..eba91e96 100644 --- a/OpenNest.WinForms.Tests/Forms/LedgerCodeRecheckTests.cs +++ b/OpenNest.WinForms.Tests/Forms/LedgerCodeRecheckTests.cs @@ -10,6 +10,9 @@ namespace OpenNest.WinForms.Tests.Forms; /// programmer goes on, removes them (one undoable edit) or cancels; a ledger that cannot be /// read never blocks. /// +// Undo reads Application.OpenForms for the busy guard, so it must not overlap fill-lifetime +// tests that transiently open NestProgressForm. +[Collection("Fill operation lifetime")] public class LedgerCodeRecheckTests { [Fact]