diff options
| -rw-r--r-- | tests/BootImageProfileTest/src/com/android/bootimageprofile/BootImageProfileTest.java | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/BootImageProfileTest/src/com/android/bootimageprofile/BootImageProfileTest.java b/tests/BootImageProfileTest/src/com/android/bootimageprofile/BootImageProfileTest.java index 61f3dbaff1a3..4ecca2dc4c39 100644 --- a/tests/BootImageProfileTest/src/com/android/bootimageprofile/BootImageProfileTest.java +++ b/tests/BootImageProfileTest/src/com/android/bootimageprofile/BootImageProfileTest.java @@ -78,13 +78,12 @@ public class BootImageProfileTest implements IDeviceTest {              return false;          }          String res = mTestDevice.executeShellCommand("kill -s SIGUSR1 " + pid).trim(); -        assertTrue("kill SIGUSR1: " + res, res.length() == 0); -        return true; +        return res.length() == 0;      }      @Test      public void testSystemServerProfile() throws Exception { -        final int numIterations = 20; +        final int numIterations = 30;          String res;          // Set properties and wait for them to be readable.          for (int i = 1; i <= numIterations; ++i) {  |