Skip to content
Snippets Groups Projects
Commit 057bac27 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Prevent tests with reboot from running during presubmit" am: 6916f91f am: 131d03d6

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1580533

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0e0bd75b8a65fc39288a6f92e8d5473060ccbd95
parents 8964ef67 131d03d6
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@
~ limitations under the License.
-->
<configuration description="Runs the internal staged install tests">
<option name="test-suite-tag" value="StagedInstallTest" />
<option name="test-suite-tag" value="StagedInstallInternalTest" />
<target_preparer class="com.android.tradefed.targetprep.suite.SuiteApkInstaller">
<option name="cleanup-apks" value="true" />
<option name="test-file-name" value="StagedInstallInternalTestApp.apk" />
......
{
"presubmit": [
{
"name": "StagedInstallInternalTest",
"options": [
{
"exclude-annotation": "android.platform.test.annotations.LargeTest"
}
]
}
],
"postsubmit": [
{
"name": "StagedInstallInternalTest"
}
......
......@@ -24,6 +24,7 @@ import static org.junit.Assert.assertTrue;
import static org.junit.Assume.assumeTrue;
import android.cts.install.lib.host.InstallUtilsHost;
import android.platform.test.annotations.LargeTest;
import com.android.ddmlib.Log;
import com.android.tests.rollback.host.AbandonSessionsRule;
......@@ -145,6 +146,7 @@ public class StagedInstallInternalTest extends BaseHostJUnit4Test {
// Test rollback-app command waits for staged sessions to be ready
@Test
@LargeTest
public void testAdbRollbackAppWaitsForStagedReady() throws Exception {
assumeTrue("Device does not support updating APEX",
mHostUtils.isApexUpdateSupported());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment