Skip to content

Commit 10f20be

Browse files
Carlos Gomezfacebook-github-bot
authored andcommitted
default to legacy LooperMode
Summary: D73854866 aims to remove this override from the `robolectric4_test` macro so that the default becomes the non-deprecated PAUSED LooperMode across. But this target times out when the default LooperMode is set to PAUSED. This diff adds the vm_arg to the target so that it won't start timing out once the override is removed. More context in this post: https://fb.workplace.com/groups/android.testing.fyi/permalink/2448074072235887/ Reviewed By: cpepin Differential Revision: D74293898 fbshipit-source-id: 55885d347da5cfc2e0caa70ce5727e3aa0d42447
1 parent 7b559bd commit 10f20be

File tree

1 file changed

+3
-0
lines changed
  • litho-it/src/test/com/facebook/litho

1 file changed

+3
-0
lines changed

litho-it/src/test/com/facebook/litho/BUCK

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@ litho_robolectric4_test(
6767
source = "8",
6868
target = "8",
6969
target_sdk_levels = ["33"],
70+
vm_args = [
71+
"-Drobolectric.looperMode=LEGACY",
72+
],
7073
deps = [
7174
LITHO_GUAVA_TARGET,
7275
LITHO_ANDROIDSUPPORT_RECYCLERVIEW_TARGET,

0 commit comments

Comments
 (0)