Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 70fb6171 authored by Winson Chiu's avatar Winson Chiu
Browse files

Use FULL reboot strategy for multi user uninstall tests

START_STOP is currently blocked by b/160159215

Test: atest com.android.server.pm.test.SystemStubMultiUserDisableUninstallTest

Change-Id: Iee8368c514a8d45f6453bf0b2dad2b6c4ea04dc9
parent 4d07b4d7
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -104,8 +104,11 @@ class SystemStubMultiUserDisableUninstallTest : BaseHostJUnit4Test() {
    }

    private val tempFolder = TemporaryFolder()

    // TODO(b/160159215): Use START_STOP rather than FULL once it's fixed. This will drastically
    //  improve pre/post-submit times.
    private val preparer: SystemPreparer = SystemPreparer(tempFolder,
            SystemPreparer.RebootStrategy.START_STOP, deviceRebootRule) { this.device }
            SystemPreparer.RebootStrategy.FULL, deviceRebootRule) { this.device }

    @get:Rule
    val rules = RuleChain.outerRule(tempFolder).let {