summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSvet Ganov <svetoslavganov@google.com>2018-06-07 21:24:36 -0700
committerSvet Ganov <svetoslavganov@google.com>2018-06-07 21:58:18 -0700
commit58b197aa15d8e8ee541d0015e7c9c69f14cb19ce (patch)
treef20d4dcfbacebbf21a1daed60e965119452783d4
parent13c592f8513f0d63196f84b045a0d0fbad8577e5 (diff)
downloadcts-58b197aa15d8e8ee541d0015e7c9c69f14cb19ce.tar.gz
Comment out flaky instant location tests
Test: cts-instant-tradefed run cts-instant-dev -t CtsLocationTestCases bug:80552896 Change-Id: I317e7e982c729fabdb82a991ce8be2bafd397cec
-rw-r--r--tests/tests/location/src/android/location/cts/GnssLocationRateChangeTest.java3
-rw-r--r--tests/tests/location/src/android/location/cts/GnssPseudorangeVerificationTest.java2
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/tests/location/src/android/location/cts/GnssLocationRateChangeTest.java b/tests/tests/location/src/android/location/cts/GnssLocationRateChangeTest.java
index e363a4b8f2a..b9eb5fd0db4 100644
--- a/tests/tests/location/src/android/location/cts/GnssLocationRateChangeTest.java
+++ b/tests/tests/location/src/android/location/cts/GnssLocationRateChangeTest.java
@@ -16,6 +16,8 @@
package android.location.cts;
+import android.platform.test.annotations.AppModeFull;
+
/**
* Test the "gps" location output works through various rate changes
*
@@ -65,6 +67,7 @@ public class GnssLocationRateChangeTest extends GnssTestCase {
* and firmware state machine layers, ensuring Location output
* remains responsive after all is done.
*/
+ @AppModeFull(reason = "Flaky in instant mode.")
public void testVariedRates() throws Exception {
if (!TestUtils.deviceHasGpsFeature(getContext())) {
return;
diff --git a/tests/tests/location/src/android/location/cts/GnssPseudorangeVerificationTest.java b/tests/tests/location/src/android/location/cts/GnssPseudorangeVerificationTest.java
index d86d6122aca..0a9d2b699f9 100644
--- a/tests/tests/location/src/android/location/cts/GnssPseudorangeVerificationTest.java
+++ b/tests/tests/location/src/android/location/cts/GnssPseudorangeVerificationTest.java
@@ -21,6 +21,7 @@ import android.location.GnssMeasurement;
import android.location.GnssMeasurementsEvent;
import android.location.GnssStatus;
import android.location.Location;
+import android.platform.test.annotations.AppModeFull;
import android.util.Log;
import com.android.compatibility.common.util.CddTest;
import java.util.ArrayList;
@@ -235,6 +236,7 @@ public class GnssPseudorangeVerificationTest extends GnssTestCase {
* Location Manager.
*/
@CddTest(requirement = "7.3.3")
+ @AppModeFull(reason = "Flaky in instant mode")
public void testPseudoPosition() throws Exception {
// Checks if Gnss hardware feature is present, skips test (pass) if not,
// and hard asserts that Location/Gnss (Provider) is turned on if is Cts Verifier.