Skip to content

test: serialize FailwithBadUsage fixture#874

Merged
knocte merged 1 commit into
fsprojects:masterfrom
w3lld1:fix/flaky-failwith-test
Jul 23, 2026
Merged

test: serialize FailwithBadUsage fixture#874
knocte merged 1 commit into
fsprojects:masterfrom
w3lld1:fix/flaky-failwith-test

Conversation

@w3lld1

@w3lld1 w3lld1 commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • run the FailwithBadUsage fixture non-parallel to match its shared rule state
  • prevent concurrent test cases from clearing duplicate-message state during another case

Validation

  • dotnet test tests/FSharpLint.Core.Tests/FSharpLint.Core.Tests.fsproj --filter 'FullyQualifiedName~FailwithBadUsage' --configuration Release (5 consecutive runs; 18/18 passed each time)
  • git diff --check upstream/master...HEAD

I also attempted the complete unfiltered FSharpLint.Core.Tests project, but it did not complete within the 10-minute local limit, so the complete run is deferred to CI.

Fixes #860

@knocte
knocte merged commit 539f32e into fsprojects:master Jul 23, 2026
4 checks passed
@knocte

knocte commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

Thanks!

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.

Flaky FailwithBadUsage test

2 participants