Change FlakyTest to Ignores
These are failing reliably, no need for FlakyTest Bug: 62475085 Test: runtest systemui Change-Id: Ib9abedda149976cffe07ea75c7034dd290d1f715
This commit is contained in:
@@ -40,10 +40,12 @@ import com.android.systemui.utils.hardware.FakeSensorManager;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
@SmallTest
|
||||
@Ignore("failing")
|
||||
@RunWith(AndroidJUnit4.class)
|
||||
public class DozeTriggersTest extends SysuiTestCase {
|
||||
private DozeTriggers mTriggers;
|
||||
@@ -79,7 +81,6 @@ public class DozeTriggersTest extends SysuiTestCase {
|
||||
});
|
||||
}
|
||||
|
||||
@FlakyTest
|
||||
@Test
|
||||
public void testOnNotification_stillWorksAfterOneFailedProxCheck() throws Exception {
|
||||
when(mMachine.getState()).thenReturn(DozeMachine.State.DOZE);
|
||||
@@ -109,4 +110,4 @@ public class DozeTriggersTest extends SysuiTestCase {
|
||||
verify(mMachine).requestPulse(anyInt());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -47,7 +47,7 @@ import org.junit.runner.RunWith;
|
||||
@RunWith(AndroidTestingRunner.class)
|
||||
@RunWithLooper
|
||||
@SmallTest
|
||||
@FlakyTest
|
||||
@Ignore("failing")
|
||||
public class QSDetailTest extends SysuiTestCase {
|
||||
|
||||
private MetricsLogger mMetricsLogger;
|
||||
|
||||
@@ -42,7 +42,7 @@ import org.junit.runner.RunWith;
|
||||
@RunWith(AndroidTestingRunner.class)
|
||||
@RunWithLooper
|
||||
@SmallTest
|
||||
@FlakyTest
|
||||
@Ignore("failing")
|
||||
public class QSFooterTest extends LeakCheckedTest {
|
||||
|
||||
private QSFooter mFooter;
|
||||
|
||||
@@ -52,7 +52,7 @@ import android.widget.FrameLayout;
|
||||
@RunWith(AndroidTestingRunner.class)
|
||||
@RunWithLooper(setAsMainLooper = true)
|
||||
@SmallTest
|
||||
@FlakyTest
|
||||
@Ignore("failing")
|
||||
public class QSFragmentTest extends SysuiBaseFragmentTest {
|
||||
|
||||
private MetricsLogger mMockMetricsLogger;
|
||||
|
||||
Reference in New Issue
Block a user