Skip to content
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

[ios] Fix flaky GeoJsonSource tests #593

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

maios
Copy link
Contributor

@maios maios commented Jun 20, 2024

  • Use StyleManager/addSource(_:dataId:) so GeoJsonSource's data will be applied in a background queue.
  • Add a delay in GeoJsonSource test when checking for volatile properties, since these properties are added later after the source is added to the style.

TODO It might be better for us to adopt StyleDSL from both platforms to Flutter. I created an internal ticket to track work

Pull request checklist:

  • Add a changelog entry.
  • Write tests for all new functionality. If tests were not written, please explain why.
  • Add documentation comments for any added or updated public APIs.

@maios maios requested review from a team as code owners June 20, 2024 08:59
@maios maios requested a review from OdNairy June 20, 2024 08:59
@maios maios marked this pull request as draft June 20, 2024 09:40
@OdNairy OdNairy removed their request for review June 27, 2024 11:52
- Use StyleManager/addSource(_:dataId:) so GeoJsonSource's data will be applied in a background queue.
- Add a delay in GeoJsonSource test when checking for volatile properties, since these properties are added later after the source is added to the style.
@maios maios force-pushed the MAPSFLT-141_fix-ios-geojson-tests branch from 2d6a052 to 4119cb4 Compare June 28, 2024 10:56
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.

None yet

1 participant