Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

[android] - wrap mapbox map test in ViewActions - #7451

Merged
tobrun merged 1 commit into
masterfrom
7447-looper-crash
Dec 15, 2016
Merged

tobrun merged 1 commit into
masterfrom
7447-looper-crash

Conversation

@tobrun

@tobrun tobrun commented Dec 15, 2016

Copy link
Copy Markdown
Member

Refs #6546, Closes #7447, this PR attempts to make our MapboxMap tests more robust by wrapping the executed code in a ViewAction. This ensures that we are calling MapboxMap methods from the application UI thread. I have done ~20 tests locally without seeing the exception from #7447, will setup some additional tests on CI to be 💯 that this change fixes the issue.

Review @cammace
cc @mapbox/android @jfirebaugh

@tobrun tobrun added Android Mapbox Maps SDK for Android tests labels Dec 15, 2016
@tobrun tobrun added this to the android-v5.0.0 milestone Dec 15, 2016
@tobrun tobrun self-assigned this Dec 15, 2016
@tobrun
tobrun requested a review from cammace December 15, 2016 11:36
@tobrun

tobrun commented Dec 15, 2016 •

Copy link
Copy Markdown
Member Author

I started 5 builds on bitrise to validate the change, all 5 builds have passed, calling this resolved.

@tobrun
tobrun requested a review from ivovandongen December 15, 2016 13:23

@ivovandongen ivovandongen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@tobrun
tobrun merged commit 858854b into master Dec 15, 2016
@tobrun
tobrun deleted the 7447-looper-crash branch December 15, 2016 13:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Android Mapbox Maps SDK for Android tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Looper crash on MapboxMapTest

2 participants