Merge "Ignore PrivateSpace tests that are failing in pre-submits." into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
b345f4b006
@@ -51,6 +51,7 @@ import com.android.settings.privatespace.PrivateSpaceMaintainer.ErrorDeletingPri
|
|||||||
import org.junit.After;
|
import org.junit.After;
|
||||||
import org.junit.Assert;
|
import org.junit.Assert;
|
||||||
import org.junit.Before;
|
import org.junit.Before;
|
||||||
|
import org.junit.Ignore;
|
||||||
import org.junit.Rule;
|
import org.junit.Rule;
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
import org.junit.runner.RunWith;
|
import org.junit.runner.RunWith;
|
||||||
@@ -234,6 +235,7 @@ public class PrivateSpaceMaintainerTest {
|
|||||||
* Tests that {@link PrivateSpaceMaintainer#lockPrivateSpace()} when PS exists and is running
|
* Tests that {@link PrivateSpaceMaintainer#lockPrivateSpace()} when PS exists and is running
|
||||||
* locks the private profile.
|
* locks the private profile.
|
||||||
*/
|
*/
|
||||||
|
@Ignore("Flaky pre-submit b/378392936")
|
||||||
@Test
|
@Test
|
||||||
public void lockPrivateSpace_psExistsAndPrivateProfileRunning_locksCreatedPrivateSpace() {
|
public void lockPrivateSpace_psExistsAndPrivateProfileRunning_locksCreatedPrivateSpace() {
|
||||||
mSetFlagsRule.enableFlags(
|
mSetFlagsRule.enableFlags(
|
||||||
@@ -253,6 +255,7 @@ public class PrivateSpaceMaintainerTest {
|
|||||||
* Tests that {@link PrivateSpaceMaintainer#lockPrivateSpace()} when PS exist and private
|
* Tests that {@link PrivateSpaceMaintainer#lockPrivateSpace()} when PS exist and private
|
||||||
* profile not running returns false.
|
* profile not running returns false.
|
||||||
*/
|
*/
|
||||||
|
@Ignore("Flaky pre-submit b/378392936")
|
||||||
@Test
|
@Test
|
||||||
public void lockPrivateSpace_psExistsAndPrivateProfileNotRunning_returnsFalse() {
|
public void lockPrivateSpace_psExistsAndPrivateProfileNotRunning_returnsFalse() {
|
||||||
mSetFlagsRule.enableFlags(
|
mSetFlagsRule.enableFlags(
|
||||||
|
|||||||
Reference in New Issue
Block a user