Skip to content

Commit

Permalink
test: mark scheduler test as flaky in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehardy committed Feb 1, 2024
1 parent e75f276 commit e8df0c9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions AnkiDroid/src/androidTest/java/com/ichi2/anki/ReviewerTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ import com.ichi2.anki.testutil.GrantStoragePermission.storagePermission
import com.ichi2.anki.testutil.grantPermissions
import com.ichi2.anki.testutil.notificationPermission
import com.ichi2.libanki.Collection
import com.ichi2.testutils.Flaky
import com.ichi2.testutils.OS
import org.hamcrest.MatcherAssert.assertThat
import org.hamcrest.Matchers.equalTo
import org.junit.Rule
Expand Down Expand Up @@ -91,6 +93,7 @@ class ReviewerTest : InstrumentedTest() {
}

@Test
@Flaky(os = OS.ALL, "Fails on CI with timing issues frequently")
fun testCustomSchedulerWithRuntimeError() {
// Issue 15035 - runtime errors weren't handled
col.cardStateCustomizer = "states.this_is_not_defined.normal.review = 12;"
Expand Down

0 comments on commit e8df0c9

Please sign in to comment.