ory / kratos

Next-gen identity server replacing your Auth0, Okta, Firebase with hardened security and PassKeys, SMS, OIDC, Social Sign In, MFA, FIDO, TOTP and OTP, WebAuthn, passwordless and much more. Golang, headless, API-first. Available as a worry-free SaaS with the fairest pricing on the market!
https://www.ory.sh/kratos/?utm_source=github&utm_medium=banner&utm_campaign=kratos
Apache License 2.0
10.82k stars 935 forks source link

test: deflake session extend config side-effect #3950

Closed zepatrik closed 2 weeks ago

zepatrik commented 2 weeks ago

The new test config provider can now read some test values from the context. This allows more tests to be parallel by ensuring isolation between test runs.

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 91.48936% with 4 lines in your changes missing coverage. Please review.

Project coverage is 78.15%. Comparing base (1bc4dc5) to head (51327aa). Report is 1 commits behind head on master.

Files Patch % Lines
driver/config/test_config.go 92.85% 1 Missing and 1 partial :warning:
cmd/hashers/argon2/root.go 0.00% 1 Missing :warning:
driver/config/config.go 85.71% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #3950 +/- ## ========================================== - Coverage 78.18% 78.15% -0.04% ========================================== Files 362 363 +1 Lines 25433 25453 +20 ========================================== + Hits 19885 19893 +8 - Misses 4028 4037 +9 - Partials 1520 1523 +3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.