commit | 22e1e3fcea99f244ccde46a66bd9e49089d94eb3 | [log] [tgz] |
---|---|---|
author | Rubin Xu <rubinxu@google.com> | Thu Apr 06 14:38:07 2017 +0100 |
committer | Rubin Xu <rubinxu@google.com> | Fri Apr 07 14:28:09 2017 +0100 |
tree | 579419c4ec2003622bd39922053c6f585283afbe | |
parent | d09ccb35f1180fb23076afcfc45b9ed950b105bc [diff] |
Fix DeviceOwnerPasswordTest flakiness DevicePolicyManager.isActivePasswordSufficient() now gets its result updated asynchronously after a password change, so retry a few times before asserting the expected value. Bug: 34212737 Test: cts-tradefed run cts-dev -m CtsDevicePolicyManagerTestCases -t com.android.cts.devicepolicy.DeviceAdminHostSideTestApi23#testRunDeviceOwnerPasswordTest Change-Id: I03c01db32912debd9b61c9d403929325e7ba653c