Skip ConnOnActivityStartTest and CoreSettingsObserverTest.
- ConnOnActivityStartTest is consistently failing because the device doesn't have network connectivity. This test probably needs to be moved to a different test suite but for now just skipping the tests. - CoreSettingsObserverTest is failing because the test depends on a mock settings provider but since the Settings class caches the provider object, the test will end up using real settings provider and fails. Bug: 38432755 Bug: 38433611 Test: N/A Change-Id: I0504d9f0df14a0f952e32c8572eefe9ccfebfd2c
This commit is contained in:
@@ -36,6 +36,7 @@ import com.android.server.AppOpsService;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.mockito.Mock;
|
||||
@@ -58,6 +59,7 @@ import java.io.File;
|
||||
* Run: adb shell am instrument -e class com.android.server.am.CoreSettingsObserverTest -w \
|
||||
* com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
|
||||
*/
|
||||
@Ignore
|
||||
@SmallTest
|
||||
@RunWith(AndroidJUnit4.class)
|
||||
public class CoreSettingsObserverTest {
|
||||
|
||||
@@ -54,6 +54,7 @@ import libcore.io.IoUtils;
|
||||
|
||||
import org.junit.AfterClass;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
|
||||
@@ -78,6 +79,7 @@ import java.util.concurrent.TimeUnit;
|
||||
* Run: adb shell am instrument -e class com.android.server.net.ConnOnActivityStartTest -w \
|
||||
* com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner
|
||||
*/
|
||||
@Ignore
|
||||
@LargeTest
|
||||
@RunWith(AndroidJUnit4.class)
|
||||
public class ConnOnActivityStartTest {
|
||||
|
||||
Reference in New Issue
Block a user