From e00d1dd44e76550454ea1e8709c951ace0ec0b2d Mon Sep 17 00:00:00 2001 From: Jackson Michael Date: Thu, 2 Feb 2023 19:48:51 +0000 Subject: [PATCH] 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 --- .../multiuser/src/android/multiuser/UserLifecycleTests.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apct-tests/perftests/multiuser/src/android/multiuser/UserLifecycleTests.java b/apct-tests/perftests/multiuser/src/android/multiuser/UserLifecycleTests.java index 5998ab7141112..051dde01c64e0 100644 --- a/apct-tests/perftests/multiuser/src/android/multiuser/UserLifecycleTests.java +++ b/apct-tests/perftests/multiuser/src/android/multiuser/UserLifecycleTests.java @@ -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.