Skip to content

Commit 861851f

Browse files
passyfacebook-github-bot
authored andcommitted
Run ResolveTreeFutureTest in looper legacy mode
Summary: The Gradle test runner has different defaults and fails: https://github.com/facebook/litho/actions/runs/9600538350/job/26477003239 Reviewed By: pentiumao Differential Revision: D58822397
1 parent 42d06fc commit 861851f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

litho-it/src/test/java/com/facebook/litho/ResolveTreeFutureTest.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ import org.assertj.core.api.Assertions.assertThat
2727
import org.junit.Before
2828
import org.junit.Test
2929
import org.junit.runner.RunWith
30+
import org.robolectric.annotation.LooperMode
3031

3132
@RunWith(LithoTestRunner::class)
33+
@LooperMode(LooperMode.Mode.LEGACY)
3234
class ResolveTreeFutureTest {
3335

3436
private lateinit var componentContext: ComponentContext

0 commit comments

Comments
 (0)