LoginIT: Add retry test rule

Flaaaaaaky.

Signed-off-by: Álvaro Brey Vilas <alvaro.brey@nextcloud.com>
This commit is contained in:
Álvaro Brey Vilas 2021-10-06 10:52:25 +02:00 committed by Álvaro Brey (Rebase PR Action)
parent 65f6c194ce
commit 81b133adc7

View file

@ -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() {