Ignore PrivateSpace tests that are failing in pre-submits.
These are to be investigated later. Flag: TEST_ONLY Bug: 378392936 Test: atest PrivateSpaceMaintainerTest Change-Id: I32a92399a0c49cbbdcc4494b746b95b168e0b132
This commit is contained in:
@@ -51,6 +51,7 @@ import com.android.settings.privatespace.PrivateSpaceMaintainer.ErrorDeletingPri
|
||||
import org.junit.After;
|
||||
import org.junit.Assert;
|
||||
import org.junit.Before;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Rule;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
@@ -234,6 +235,7 @@ public class PrivateSpaceMaintainerTest {
|
||||
* Tests that {@link PrivateSpaceMaintainer#lockPrivateSpace()} when PS exists and is running
|
||||
* locks the private profile.
|
||||
*/
|
||||
@Ignore("Flaky pre-submit b/378392936")
|
||||
@Test
|
||||
public void lockPrivateSpace_psExistsAndPrivateProfileRunning_locksCreatedPrivateSpace() {
|
||||
mSetFlagsRule.enableFlags(
|
||||
@@ -253,6 +255,7 @@ public class PrivateSpaceMaintainerTest {
|
||||
* Tests that {@link PrivateSpaceMaintainer#lockPrivateSpace()} when PS exist and private
|
||||
* profile not running returns false.
|
||||
*/
|
||||
@Ignore("Flaky pre-submit b/378392936")
|
||||
@Test
|
||||
public void lockPrivateSpace_psExistsAndPrivateProfileNotRunning_returnsFalse() {
|
||||
mSetFlagsRule.enableFlags(
|
||||
|
Reference in New Issue
Block a user