mirror of
https://github.com/nextcloud/android.git
synced 2024-11-27 09:39:25 +03:00
Merge pull request #11430 from nextcloud/chore/contacts-backup-flaky
Add RetryTestRule to ContactsBackupIT
This commit is contained in:
commit
cec8aaa70d
1 changed files with 4 additions and 0 deletions
|
@ -25,6 +25,7 @@ import android.Manifest
|
|||
import androidx.test.rule.GrantPermissionRule
|
||||
import androidx.work.WorkManager
|
||||
import com.nextcloud.client.core.ClockImpl
|
||||
import com.nextcloud.test.RetryTestRule
|
||||
import com.owncloud.android.AbstractIT
|
||||
import com.owncloud.android.AbstractOnServerIT
|
||||
import com.owncloud.android.R
|
||||
|
@ -50,6 +51,9 @@ class ContactsBackupIT : AbstractOnServerIT() {
|
|||
@get:Rule
|
||||
val readContactsRule = GrantPermissionRule.grant(Manifest.permission.READ_CONTACTS)
|
||||
|
||||
@get:Rule
|
||||
val retryTestRule = RetryTestRule() // flaky test
|
||||
|
||||
private val vcard: String = "vcard.vcf"
|
||||
|
||||
@Test
|
||||
|
|
Loading…
Reference in a new issue