Commit 331023a
committed
Serialise ConsoleUtilitySpecs with the process-global-state collection
Fixes a race with PromptConfirmationGlyphSpecs: both mutate the shared
static ConsoleUtility.ConsoleWrapper/IsInterrupted, but only the glyph
specs opted into ProcessGlobalStateCollection. xUnit runs different
collections in parallel, so the two classes intermittently stomped on
each other's console wrapper, surfacing as a FakeConsole.LastLine
'Sequence contains no matching element' failure in CI.1 parent 25e7ed6 commit 331023a
1 file changed
Lines changed: 2 additions & 0 deletions
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
0 commit comments