Ignore failing test of FactoryResetPreferenceControllerTest

Bug: 314930928
Test: atest
Change-Id: I0d5d88754ec8dcd9ee3dc05020382a2095c4256b
This commit is contained in:
Yanting Yang
2023-12-05 20:04:36 +08:00
parent d3661be0eb
commit a7573a1f5e

View File

@@ -27,6 +27,7 @@ import com.android.settings.testutils.shadow.ShadowUtils;
import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.RobolectricTestRunner;
@@ -60,6 +61,7 @@ public class FactoryResetPreferenceControllerTest {
Settings.Global.putInt(mContext.getContentResolver(), Settings.Global.DEVICE_DEMO_MODE, 0);
}
@Ignore("b/314930928")
@Test
public void isAvailable_systemUser() {
mShadowUserManager.setIsAdminUser(true);