From 303b9d17a472762d9153856c6daec889031d183f Mon Sep 17 00:00:00 2001 From: Victor Andreasson Date: Mon, 29 Jul 2024 07:15:06 +0200 Subject: [PATCH] Update SyncRepoTest.kt --- .../java/com/orgzly/android/repos/SyncRepoTest.kt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/src/androidTest/java/com/orgzly/android/repos/SyncRepoTest.kt b/app/src/androidTest/java/com/orgzly/android/repos/SyncRepoTest.kt index 4db731b70..0cd0c59b7 100644 --- a/app/src/androidTest/java/com/orgzly/android/repos/SyncRepoTest.kt +++ b/app/src/androidTest/java/com/orgzly/android/repos/SyncRepoTest.kt @@ -14,6 +14,7 @@ import com.orgzly.BuildConfig import com.orgzly.R import com.orgzly.android.BookName import com.orgzly.android.OrgzlyTest +import com.orgzly.android.RetryTestRule import com.orgzly.android.db.entity.BookView import com.orgzly.android.db.entity.Repo import com.orgzly.android.espresso.DocumentRepoTest @@ -85,6 +86,10 @@ class SyncRepoTest(private val param: Parameter) : OrgzlyTest() { val RANDOM_UUID = UUID.randomUUID().toString() } + @Rule + @JvmField + val mRetryTestRule = RetryTestRule() + override fun tearDown() { super.tearDown() if (this::repo.isInitialized) {