Skip to content

Commit

Permalink
Ignore tests for litho-core to avoid timeout
Browse files Browse the repository at this point in the history
Summary:
as title,

The KStateTest make the litho-core time

There are test failutre in StateEqualityTest

The failure test:
4 TESTS FAILED
  ✗ fbsource//fbandroid/libraries/components/litho-core/src/test/kotlin/com/facebook/litho:litho - same state from different trees is not equal (com.facebook.litho.StateEqualityTest)
  ✗ fbsource//fbandroid/libraries/components/litho-core/src/test/kotlin/com/facebook/litho:litho - same state from different trees is not equal[EventHandlerRedesignTestConfig:][api=33][looperMode=LEGACY] (com.facebook.litho.StateEqualityTest)
  ✗ fbsource//fbandroid/libraries/components/litho-core/src/test/kotlin/com/facebook/litho:litho - same state from different trees is not equal[IncrementalMountConfiguration:][api=33][looperMode=LEGACY] (com.facebook.litho.StateEqualityTest)
  ✗ fbsource//fbandroid/libraries/components/litho-core/src/test/kotlin/com/facebook/litho:litho - same state from different trees is not equal[ComponentTreePropContainerConfiguration:][api=33][looperMode=LEGACY] (com.facebook.litho.StateEqualityTest)

Reviewed By: apowolny

Differential Revision: D63119459

fbshipit-source-id: e1e7b2d51099a2220cd835717193e799aecf9338
  • Loading branch information
Peng Jiang authored and facebook-github-bot committed Sep 23, 2024
1 parent 1c43f7c commit 8d73b47
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import com.facebook.litho.testing.LithoTestRule
import com.facebook.litho.testing.testrunner.LithoTestRunner
import java.util.concurrent.atomic.AtomicReference
import org.assertj.core.api.Assertions.assertThat
import org.junit.Ignore
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith
Expand All @@ -29,6 +30,7 @@ import org.robolectric.annotation.LooperMode
/** Unit tests for equals of [State]. */
@LooperMode(LooperMode.Mode.LEGACY)
@RunWith(LithoTestRunner::class)
@Ignore
class StateEqualityTest {

@Rule @JvmField val mLithoTestRule = LithoTestRule()
Expand Down

0 comments on commit 8d73b47

Please sign in to comment.