1
0
Fork 0

Fix tests

This commit is contained in:
Steve Soltys 2024-06-05 17:24:07 -04:00
parent 1061cdeed3
commit a447b3e700

View file

@ -5,9 +5,11 @@
package com.stevesoltys.seedvault.e2e
import android.content.Intent
import android.content.pm.PackageManager
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.platform.app.InstrumentationRegistry
import com.stevesoltys.seedvault.transport.ConfigurableBackupTransportService
import kotlinx.coroutines.runBlocking
import org.junit.After
import org.junit.Before
@ -45,7 +47,12 @@ internal abstract class SeedvaultLargeTest :
resetApplicationState()
clearTestBackups()
targetContext.startService(
Intent(targetContext, ConfigurableBackupTransportService::class.java)
)
sleep(120000)
runCommand("bmgr transport com.stevesoltys.seedvault.transport.ConfigurableBackupTransport")
startRecordingTest(keepRecordingScreen, name.methodName)