Skip to content

Commit

Permalink
chore: [ANDROAPP-6139] Ignore flaky test (#3622)
Browse files Browse the repository at this point in the history
* chore: [ANDROAPP-6139] ignoreflaky test

* fix: [ANDROAPP-6135] add ignore to shouldSuccessfullySyncSavedEvent
  • Loading branch information
xavimolloy authored May 6, 2024
1 parent c1be4e2 commit d6f75c1
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import org.dhis2.usescases.searchte.robot.searchTeiRobot
import org.dhis2.usescases.teidashboard.robot.eventRobot
import org.dhis2.usescases.teidashboard.robot.teiDashboardRobot
import org.hisp.dhis.android.core.mockwebserver.ResponseController.GET
import org.junit.Ignore
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith
Expand Down Expand Up @@ -95,6 +96,7 @@ class SyncFlowTest : BaseTest() {
cleanLocalDatabase()
}

@Ignore("Flaky test, will be addressed in issue #ANDROAPP-6155")
@Test
fun shouldSuccessfullySyncSavedEvent() {
mockWebServerRobot.addResponse(GET, "/api/system/ping", API_PING_RESPONSE_OK)
Expand All @@ -121,6 +123,7 @@ class SyncFlowTest : BaseTest() {
}

@Test
@Ignore("Flaky test, will be addressed in issue #ANDROAPP-6139")
fun shouldShowErrorWhenSyncEventFails() {
mockWebServerRobot.addResponse(GET, "/api/system/ping", API_PING_RESPONSE_OK)

Expand Down

0 comments on commit d6f75c1

Please sign in to comment.