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

Add @LooperMode LEGACY in tests that fail in PAUSED mode #762

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

chggr
Copy link
Contributor

@chggr chggr commented Jan 26, 2021

Summary

The new Robolectric PAUSED LooperMode will become the default in new versions of
Robolectric. We have ran all litho-it tests against the new PAUSED LooperMode and
unfortunately some of them are failing. For these tests we need to explicitly specify the
LooperMode as LEGACY to be future proof, so that they do not start failing when the
default changes to PAUSED in the future.

Changelog

Add @LooperMode LEGACY in tests that fail in PAUSED LooperMode

Test Plan

N/A, this change only affects tests

The new Robolectric PAUSED LooperMode will become the default
in new versions of Robolectric. We have ran all tests against
the new PAUSED LooperMode and unfortunately some tests are
failing. For these tests we need to explicitly specify the
LooperMode as LEGACY to be future proof, so that they do not
start failing when the default changes to PAUSED in the future.
@chggr
Copy link
Contributor Author

chggr commented Feb 9, 2021

Hi team, just wanted to check whether you had any feedback on this PR. Thanks!

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@colriot has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants