summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRoshan Pius <rpius@google.com>2019-11-04 10:49:39 -0800
committerRoshan Pius <rpius@google.com>2019-11-05 17:24:59 +0000
commit126b32b2f9573e509771f990252762889177e536 (patch)
treec68a5afb1c3a9a3c03b1192604c5d21a86e86c7d /tests
parent31e50a1cd3df4ac40f6cf5834558e7f00f767a24 (diff)
WifiDiagnostics: Temporarily disable bugreport collection
Disabled until we have a formal API, this would otherwise require us to statically link services.core again. Bug: 143476692 Test: Killed wificond & ensured that device connects back to wifi networks. Change-Id: I6c8563a52bb9f985c631a457242664ada8eaab0f
Diffstat (limited to 'tests')
-rw-r--r--tests/wifitests/src/com/android/server/wifi/WifiDiagnosticsTest.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/WifiDiagnosticsTest.java b/tests/wifitests/src/com/android/server/wifi/WifiDiagnosticsTest.java
index e4b1d7029..9161170e3 100644
--- a/tests/wifitests/src/com/android/server/wifi/WifiDiagnosticsTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/WifiDiagnosticsTest.java
@@ -857,6 +857,7 @@ public class WifiDiagnosticsTest extends WifiBaseTest {
}
@Test
+ @Ignore("TODO(b/143494985): re-enabled this @Test")
public void takeBugReportCallsActivityManagerOnUserDebug() {
when(mBuildProperties.isUserBuild()).thenReturn(false);
mWifiDiagnostics.takeBugReport("", "");
@@ -865,6 +866,7 @@ public class WifiDiagnosticsTest extends WifiBaseTest {
}
@Test
+ @Ignore("TODO(b/143494985): re-enabled this @Test")
public void takeBugReportSwallowsExceptions() {
when(mBuildProperties.isUserBuild()).thenReturn(false);
doThrow(new RuntimeException()).when(mActivityManagerService).requestWifiBugReport(