Commit 468c1757 authored by weijuncheng's avatar weijuncheng Committed by juncheng wei
Browse files

Fix testAlwaysOnVpnAcrossReboot cts test



Test: run cts -m CtsDevicePolicyManagerTestCases -t
 com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testAlwaysOnVpnAcrossReboot

Root cause:
This is because the managed profile might not be initialized when the test real starts and device
reboots,so the created user might not be able to start after rebooting when the test continues to proceed

Solution:
wait until created user being initialized, then the test continues to run

Bug: 122489251

Change-Id: If605ddda2b4c070b5eaa49a1dc13f66f71b2d0bb
Signed-off-by: default avatarweijuncheng <weijuncheng@xiaomi.com>
parent afe8651a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment