From 81b133adc7b715c43fcaed5827c6e30669e39a5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81lvaro=20Brey=20Vilas?= Date: Wed, 6 Oct 2021 10:52:25 +0200 Subject: [PATCH] LoginIT: Add retry test rule MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Flaaaaaaky. Signed-off-by: Álvaro Brey Vilas --- src/androidTest/java/com/owncloud/android/ui/LoginIT.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/androidTest/java/com/owncloud/android/ui/LoginIT.java b/src/androidTest/java/com/owncloud/android/ui/LoginIT.java index e903e30c4d..c79b445256 100644 --- a/src/androidTest/java/com/owncloud/android/ui/LoginIT.java +++ b/src/androidTest/java/com/owncloud/android/ui/LoginIT.java @@ -26,6 +26,7 @@ import android.accounts.Account; import android.content.Context; import android.os.Bundle; +import com.nextcloud.client.RetryTestRule; import com.nextcloud.client.account.UserAccountManager; import com.nextcloud.client.account.UserAccountManagerImpl; import com.owncloud.android.AbstractIT; @@ -59,6 +60,8 @@ import static org.junit.Assert.assertEquals; public class LoginIT extends AbstractIT { @Rule public GrantPermissionRule permissionRule = GrantPermissionRule.grant(Manifest.permission.WRITE_EXTERNAL_STORAGE); + @Rule + public RetryTestRule retryTestRule = new RetryTestRule(); @Before public void setUp() {