From d9e3762e33e8429b87452d1e733b827a868506a2 Mon Sep 17 00:00:00 2001 From: Joanne Chung Date: Sat, 9 Apr 2022 00:04:51 +0800 Subject: [PATCH] Disable these four test cases of HotwordDetectionServiceBasicTest We disable these four test cases temporarily from presubmit. We will add back after fixing test fail. Bug: 225076204 Test: atest CtsVoiceInteractionTestCases Change-Id: I0cdc92cb37db305df75947502e3569bfc38795a3 --- core/java/android/app/TEST_MAPPING | 13 +++++++++++++ services/voiceinteraction/TEST_MAPPING | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/core/java/android/app/TEST_MAPPING b/core/java/android/app/TEST_MAPPING index 649f904425367..3c64b992cd982 100644 --- a/core/java/android/app/TEST_MAPPING +++ b/core/java/android/app/TEST_MAPPING @@ -110,6 +110,19 @@ "options": [ { "exclude-annotation": "androidx.test.filters.FlakyTest" + }, + // TODO(b/225076204): Remove the following four test cases after fixing the test fail. + { + "exclude-filter": "android.voiceinteraction.cts.HotwordDetectionServiceBasicTest#testHotwordDetectionService_createDetectorTwiceQuickly_triggerSuccess" + }, + { + "exclude-filter": "android.voiceinteraction.cts.HotwordDetectionServiceBasicTest#testHotwordDetectionService_onDetectFromExternalSource_success" + }, + { + "exclude-filter": "android.voiceinteraction.cts.HotwordDetectionServiceBasicTest#testHotwordDetectionService_createDetectorTwiceQuickly_triggerSuccess" + }, + { + "exclude-filter": "android.voiceinteraction.cts.HotwordDetectionServiceBasicTest#testHotwordDetectionService_onDetectFromMic_success" } ], "file_patterns": ["(/|^)VoiceInteract[^/]*"] diff --git a/services/voiceinteraction/TEST_MAPPING b/services/voiceinteraction/TEST_MAPPING index 22a6445843a4f..bc8c639df1c1b 100644 --- a/services/voiceinteraction/TEST_MAPPING +++ b/services/voiceinteraction/TEST_MAPPING @@ -5,6 +5,19 @@ "options": [ { "exclude-annotation": "androidx.test.filters.FlakyTest" + }, + // TODO(b/225076204): Remove the following four test cases after fixing the test fail. + { + "exclude-filter": "android.voiceinteraction.cts.HotwordDetectionServiceBasicTest#testHotwordDetectionService_createDetectorTwiceQuickly_triggerSuccess" + }, + { + "exclude-filter": "android.voiceinteraction.cts.HotwordDetectionServiceBasicTest#testHotwordDetectionService_onDetectFromExternalSource_success" + }, + { + "exclude-filter": "android.voiceinteraction.cts.HotwordDetectionServiceBasicTest#testHotwordDetectionService_createDetectorTwiceQuickly_triggerSuccess" + }, + { + "exclude-filter": "android.voiceinteraction.cts.HotwordDetectionServiceBasicTest#testHotwordDetectionService_onDetectFromMic_success" } ] },