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

Commit 1f19960b authored by Tadashi G. Takaoka's avatar Tadashi G. Takaoka
Browse files

Mark UserControllerTest.testStartUser_background as @FlakyTest

Bug: 118932054
Test: Pass all AM tests in WmTests
  $ tradefed.sh run commandAndExit WmTests \
      --include-filter com.android.server.am. \
      --include-annotation android.platform.test.annotations.Presubmit \
      --exclude-annotation androidx.test.filters.FlakyTest

Change-Id: I4fab1b08cc5061a2e107292e5d9bd6e2a6a121e5
parent 6d79c13f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -68,6 +68,7 @@ import android.os.UserManagerInternal;
import android.platform.test.annotations.Presubmit;
import android.util.Log;

import androidx.test.filters.FlakyTest;
import androidx.test.filters.SmallTest;

import com.android.server.pm.UserManagerService;
@@ -148,6 +149,7 @@ public class UserControllerTest {
        startForegroundUserAssertions();
    }

    @FlakyTest(bugId = 118932054)
    @Test
    public void testStartUser_background() {
        mUserController.startUser(TEST_USER_ID, false /* foreground */);