From 95216457f02bb074eddf40322337f70dfa2d4e1c Mon Sep 17 00:00:00 2001
From: Yuyang Huang <yuyangh@google.com>
Date: Thu, 2 Mar 2023 17:46:26 -0800
Subject: [PATCH] Temporarily disable failing HeadsetServiceAndStateMachineTest

Test: atest BluetoothInstrumentationTests
Bug: 271351629
Change-Id: I8be0a5bcbb8c26e3ef178bcb25973783045b9f31
---
 .../bluetooth/hfp/HeadsetServiceAndStateMachineTest.java       | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/android/app/tests/unit/src/com/android/bluetooth/hfp/HeadsetServiceAndStateMachineTest.java b/android/app/tests/unit/src/com/android/bluetooth/hfp/HeadsetServiceAndStateMachineTest.java
index 911e3f29d89..8c73255e4c7 100644
--- a/android/app/tests/unit/src/com/android/bluetooth/hfp/HeadsetServiceAndStateMachineTest.java
+++ b/android/app/tests/unit/src/com/android/bluetooth/hfp/HeadsetServiceAndStateMachineTest.java
@@ -60,6 +60,7 @@ import org.junit.After;
 import org.junit.Assert;
 import org.junit.Assume;
 import org.junit.Before;
+import org.junit.Ignore;
 import org.junit.Rule;
 import org.junit.Test;
 import org.junit.runner.RunWith;
@@ -1004,6 +1005,7 @@ public class HeadsetServiceAndStateMachineTest {
      * Reference: Section 4.25, Page 64/144 of HFP 1.7.1 specification
      */
     @Test
+    @Ignore("b/271351629")
     public void testVoiceRecognition_MultiAgInitiatedSuccess() {
         // Connect two devices
         BluetoothDevice deviceA = TestUtils.getTestDevice(mAdapter, 0);
@@ -1043,6 +1045,7 @@ public class HeadsetServiceAndStateMachineTest {
      * Reference: Section 4.25, Page 64/144 of HFP 1.7.1 specification
      */
     @Test
+    @Ignore("b/271351629")
     public void testVoiceRecognition_MultiAgInitiatedDeviceNotActive() {
         // Connect two devices
         BluetoothDevice deviceA = TestUtils.getTestDevice(mAdapter, 0);
-- 
GitLab