From d6f75c1b6626b9a9757ad6be220900e574e991bb Mon Sep 17 00:00:00 2001 From: Xavier Molloy <44061143+xavimolloy@users.noreply.github.com> Date: Mon, 6 May 2024 16:49:50 +0200 Subject: [PATCH] chore: [ANDROAPP-6139] Ignore flaky test (#3622) * chore: [ANDROAPP-6139] ignoreflaky test * fix: [ANDROAPP-6135] add ignore to shouldSuccessfullySyncSavedEvent --- .../java/org/dhis2/usescases/flow/syncFlow/SyncFlowTest.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/androidTest/java/org/dhis2/usescases/flow/syncFlow/SyncFlowTest.kt b/app/src/androidTest/java/org/dhis2/usescases/flow/syncFlow/SyncFlowTest.kt index 7e24f017dc..3504143523 100644 --- a/app/src/androidTest/java/org/dhis2/usescases/flow/syncFlow/SyncFlowTest.kt +++ b/app/src/androidTest/java/org/dhis2/usescases/flow/syncFlow/SyncFlowTest.kt @@ -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 @@ -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) @@ -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)