mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-11-23 12:27:41 -05:00
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 <noreply@anthropic.com>
This commit is contained in:
1 parent
6c54616a28
commit
b19795461c
1 file changed
+3
@@ -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.
|
||||
/// </summary>
|
||||
// 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]
|
||||
|
||||
Reference in new issue
Block a user