Skip to content

UserDefaultsDefaultTests: fixed flaky failures#2284

Merged
NachoSoto merged 1 commit into
mainfrom
user-defaults-fatal-error
Feb 15, 2023
Merged

UserDefaultsDefaultTests: fixed flaky failures#2284
NachoSoto merged 1 commit into
mainfrom
user-defaults-fatal-error

Conversation

@NachoSoto

Copy link
Copy Markdown
Contributor

See also #2046.
Depending on test execution order sometimes we were getting crashes when running this test.

Because we're removing UserDefaults on purpose to test UserDefaults.computeDefault, we want to ignore errors here.

@NachoSoto NachoSoto added the test label Feb 14, 2023
@NachoSoto NachoSoto requested a review from a team February 14, 2023 18:35
@NachoSoto NachoSoto merged commit 6a52a64 into main Feb 15, 2023
@NachoSoto NachoSoto deleted the user-defaults-fatal-error branch February 15, 2023 16:09
NachoSoto pushed a commit that referenced this pull request Feb 15, 2023
**This is an automatic release.**

### Bugfixes
* `PurchaseOrchestrator`: always refresh receipt purchasing in sandbox
(#2280) via NachoSoto (@NachoSoto)
* `BundleSandboxEnvironmentDetector`: always return `true` when running
on simulator (#2276) via NachoSoto (@NachoSoto)
* `OfferingsManager`: ensure underlying
`OfferingsManager.Error.configurationError` is logged (#2266) via
NachoSoto (@NachoSoto)
### Other Changes
* `UserDefaultsDefaultTests`: fixed flaky failures (#2284) via NachoSoto
(@NachoSoto)
* `BaseBackendTest`: improved test failure message (#2285) via NachoSoto
(@NachoSoto)
* Updated targets and schemes for Xcode 14.2 (#2282) via NachoSoto
(@NachoSoto)
* `HTTPRequest.Path.health`: don't cache using `ETagManager` (#2278) via
NachoSoto (@NachoSoto)
* `EntitlementInfos.all`: fixed docstring (#2279) via NachoSoto
(@NachoSoto)
* `StoreKit2StorefrontListener`: added tests to fix flaky code coverage
(#2265) via NachoSoto (@NachoSoto)
* `NetworkError`: added underlying error to description (#2263) via
NachoSoto (@NachoSoto)
* Created `Signing.verify(message:hasValidSignature:with:)` (#2216) via
NachoSoto (@NachoSoto)
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.

2 participants