Skip to content

Improve the caching transport tests #4360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 18, 2025

Conversation

jamescrosswell
Copy link
Collaborator

The caching transport tests can fail when running the device tests if the simulator looses network connectivity. This PR changes the test to use a FakeReliableNetworkStatusListener implementation of INetworkStatusListener that ignores the real network status and just pretends that everything is OK, so that test reliability isn't impacted by network connectivity.

Extracted from #4294

#skip-changelog

The caching transport tests can fail when running the device tests if the simulator looses network connectivity. This PR changes the test to use a `FakeReliableNetworkStatusListener ` implementation of `INetworkStatusListener` that ignores the real network status and just pretends that everything is OK, so that test reliability isn't impacted by network connectivity.

Extracted from #4294

#skip-changelog
@jamescrosswell jamescrosswell marked this pull request as ready for review July 17, 2025 04:06
@jamescrosswell jamescrosswell requested a review from Flash0ver July 18, 2025 09:21
@jamescrosswell jamescrosswell merged commit bca5e8a into main Jul 18, 2025
27 checks passed
@jamescrosswell jamescrosswell deleted the improve-caching-transport-tests branch July 18, 2025 09:22
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