Skip to content

Serialize the AppStorage test suite#70

Closed
colemancda wants to merge 1 commit into
masterfrom
claude/quizzical-carson-c025b3
Closed

Serialize the AppStorage test suite#70
colemancda wants to merge 1 commit into
masterfrom
claude/quizzical-carson-c025b3

Conversation

@colemancda

Copy link
Copy Markdown
Member

The AppStorage tests each reassign the process-global AppStorageStore.backend, so under Swift Testing's parallel execution one test could swap the backend mid-run and another would see nil reads (e.g. in "Each supported type round-trips under its own key").

Mark the suite .serialized so its four tests run one at a time; no other suite touches the backend, so the rest of the run stays fully parallel.

Verified with 5 consecutive filtered runs and 3 consecutive full swift test runs, all passing.

@colemancda colemancda closed this Jul 24, 2026
@colemancda
colemancda deleted the claude/quizzical-carson-c025b3 branch July 24, 2026 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant