From e218efda750766da654ed82217da629fc2e927e7 Mon Sep 17 00:00:00 2001 From: Steve Soltys Date: Wed, 5 Jun 2024 19:57:46 -0400 Subject: [PATCH] Fix tests --- .../stevesoltys/seedvault/e2e/SeedvaultLargeTest.kt | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/app/src/androidTest/java/com/stevesoltys/seedvault/e2e/SeedvaultLargeTest.kt b/app/src/androidTest/java/com/stevesoltys/seedvault/e2e/SeedvaultLargeTest.kt index bef6183d9..d9e63bf3e 100644 --- a/app/src/androidTest/java/com/stevesoltys/seedvault/e2e/SeedvaultLargeTest.kt +++ b/app/src/androidTest/java/com/stevesoltys/seedvault/e2e/SeedvaultLargeTest.kt @@ -5,11 +5,9 @@ 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 @@ -47,13 +45,10 @@ internal abstract class SeedvaultLargeTest : resetApplicationState() clearTestBackups() - targetContext.startService( - Intent(targetContext, ConfigurableBackupTransportService::class.java) - ) - - sleep(120000) - + runCommand("bmgr enable true") + sleep(60000) runCommand("bmgr transport com.stevesoltys.seedvault.transport.ConfigurableBackupTransport") + sleep(60000) startRecordingTest(keepRecordingScreen, name.methodName) restoreBaselineBackup()