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

Commit e00d1dd4 authored by Jackson Michael's avatar Jackson Michael
Browse files

Renaming new start user tests

Renaming the start user tests to make clear that it was "started twice/once before in the past, and now we're timing the next start".

Bug: 266555909
Test: atest UserLifecycleTests#startUser_startedOnceBefore
Test: atest UserLifecycleTests#startUser_startedTwiceBefore
Test: atest UserLifecycleTests#startAndUnlockUser_startedTwiceBefore
Change-Id: Ib92e1c69027d05c1dbee7ce6b3620e6e6f8ccc7e
parent 90a663fa
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -286,7 +286,7 @@ public class UserLifecycleTests {
     * this test can be removed.
     */
    @Test(timeout = TIMEOUT_MAX_TEST_TIME_MS)
    public void startUser_startOnceBefore() throws RemoteException {
    public void startUser_startedOnceBefore() throws RemoteException {
        startUser_measuresAfterFirstIterations(/* numberOfIterationsToSkip */1);
    }

@@ -340,7 +340,7 @@ public class UserLifecycleTests {
     * The next iterations take the expected time to start a user.
     */
    @Test(timeout = TIMEOUT_MAX_TEST_TIME_MS)
    public void startUser_startTwiceBefore() throws RemoteException {
    public void startUser_startedTwiceBefore() throws RemoteException {
        final int userId = createUserNoFlags();

        //TODO(b/266681181) Reduce iteration number by 1 after investigation and possible fix.
@@ -411,7 +411,7 @@ public class UserLifecycleTests {
     * The next iterations take the expected time to start a user.
     */
    @Test(timeout = TIMEOUT_MAX_TEST_TIME_MS)
    public void startAndUnlockUser_startTwiceBefore() throws RemoteException {
    public void startAndUnlockUser_startedTwiceBefore() throws RemoteException {
        final int userId = createUserNoFlags();

        //TODO(b/266681181) Reduce iteration number by 1 after investigation and possible fix.