Skip to content

Commit

Permalink
ci: add flaky annotation to two really flaky reviewer tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehardy committed Jan 31, 2024
1 parent ab6fd02 commit 300203a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions AnkiDroid/src/test/java/com/ichi2/anki/ReviewerTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ class ReviewerTest : RobolectricTest() {
@Test
@Synchronized
@Throws(ConfirmModSchemaException::class)
@Flaky(OS.ALL, "java.lang.AssertionError: Unexpected card ord Expected: <2> but: was <1>")
fun testMultipleCards() = runTest {
addNoteWithThreeCards()
val nw = col.decks.confForDid(1).getJSONObject("new")
Expand Down Expand Up @@ -147,6 +148,7 @@ class ReviewerTest : RobolectricTest() {
}

@Test
@Flaky(OS.ALL, "java.lang.AssertionError: Expected: \"2\" but: was \"1\"")
fun testLrnQueueAfterUndo() = runTest {
val nw = col.decks.confForDid(1).getJSONObject("new")
val time = TimeManager.time as MockTime
Expand Down

0 comments on commit 300203a

Please sign in to comment.