Skip to content

Conversation

@onevcat
Copy link
Owner

@onevcat onevcat commented Dec 18, 2025

Fixes occasional CI flakiness in KingfisherManagerTests.testRetrieveWithImageProviderFail.

The original tests used an ActorBox flag flipped inside Task {} and then asserted from another Task, which can race on scheduling.

This change rewrites testRetrieveWithImageProvider and testRetrieveWithImageProviderFail to use XCTest expectations and waitForExpectations, making the tests deterministic.

@onevcat onevcat merged commit eaefae0 into master Dec 18, 2025
24 checks passed
@onevcat onevcat deleted the fix/flaky-image-provider-tests branch December 18, 2025 03:44
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