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

Android Instrumentation Tests Improvements #2321

Merged
merged 19 commits into from
Apr 29, 2024

Conversation

louwers
Copy link
Collaborator

@louwers louwers commented Apr 24, 2024

I want to make the Android Instrumentation Tests pass on CI so we can rely on them for PRs.

In this PR I am pulling the logs from AWS Device Farm and log them on GitHub (for debugging in case a test fails).

Had to ignore quite a few tests because they are flaky.

Style.getPredefinedStyle("Streets") was failing unpredictably because the MapTiler styles weren't loaded yet. I replaced it with Style.getDefaultStyles()[0].url wherever possible. Maybe I will define the styles needed for the tests near the tests instead of relying on the pre-defined styles in the core (that we want to get rid of at some point).

I'll try to improve things further in another PR.

@louwers louwers marked this pull request as draft April 24, 2024 17:06
@louwers louwers marked this pull request as ready for review April 25, 2024 17:01
@louwers louwers changed the title Make Android Instrumentation Tests Pass Android Instrumentation Tests Improvements Apr 25, 2024
Copy link

github-actions bot commented Apr 25, 2024

Bloaty Results (iOS) 🐋

Compared to main

    FILE SIZE        VM SIZE    
 --------------  -------------- 
  [ = ]       0  [ = ]       0    TOTAL

Full report: https://maplibre-native.s3.eu-central-1.amazonaws.com/bloaty-results-ios/pr-2321-compared-to-main.txt

@louwers louwers requested a review from cgalvan April 29, 2024 12:32
@louwers louwers merged commit 3e1868b into maplibre:main Apr 29, 2024
31 of 32 checks passed
@louwers louwers deleted the fix-android-instrumentation-test branch April 29, 2024 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants