Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Hard-code Null Island for runtime styling test #293

Merged
merged 1 commit into from
May 1, 2020

Conversation

1ec5
Copy link
Contributor

@1ec5 1ec5 commented May 1, 2020

Relying on the stylesheet to jump from an invalid camera to Null Island seems to introduce a race condition in mbgl where the tiles don’t render by the time the snapshot takes place. Hard-coding the default camera as the snapshot’s camera merely makes the test failure less frequent on CI, but there is very likely an underlying issue: mapbox/mapbox-gl-native#16454.

Fixes #291.

/cc @mapbox/maps-ios

Relying on the stylesheet to jump from an invalid camera to Null Island seems to introduce a race condition where the tiles don’t render by the time the snapshot takes place.
@1ec5 1ec5 merged commit 93141ac into master May 1, 2020
@1ec5 1ec5 deleted the 1ec5-snapshotter-test-blank-291 branch May 1, 2020 17:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Runtime styling snapshotter tests fail intermittently on CI
2 participants