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
This commit is contained in:
Jackson Michael
2023-02-02 19:48:51 +00:00
parent 90a663fae1
commit e00d1dd44e

View File

@@ -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.