Fix tests
This commit is contained in:
parent
1061cdeed3
commit
a447b3e700
1 changed files with 7 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue