Commit d49aabf
Fix flaky ClaimTypesConst tests by serializing the Security test assembly (#171)
ClaimTypesConstTests.Configure_AppliesCustomValues intermittently failed on CI
(seeing the default role claim URI instead of the configured "roles"). Root
cause is a cross-class race on the process-wide mutable static ClaimTypesConst:
both ClaimTypesConstTests and ClaimsIdentityExtensionsTests call the internal
Reset() in ctor/Dispose, and under xUnit's default per-class parallelism a
parallel Reset() can null the options mid-test so a later property read rebuilds
defaults.
Disable test parallelization for RCommon.Security.Tests so the shared static
state is deterministic. Pre-existing flake, unrelated to the 3.1.1 changes; it
blocked the release CI run.
Co-authored-by: jasonmwebb-lv <jason.webb@leadventure.com>1 parent 63ad76e commit d49aabf
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
0 commit comments