Ignore failing test of BluetoothUpdateWorkerTest

Bug: 315399487
Test: post-submit
Change-Id: I2747b45e60b7aa4d1326e8eb01bc2af8e8666030
This commit is contained in:
Yanting Yang
2023-12-08 03:11:01 +00:00
parent b85f4de6a2
commit 033263b858

View File

@@ -29,6 +29,7 @@ import com.android.settings.slices.ShadowSliceBackgroundWorker;
import com.android.settings.testutils.shadow.ShadowBluetoothAdapter;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.robolectric.RobolectricTestRunner;
@@ -60,6 +61,7 @@ public class BluetoothUpdateWorkerTest {
verify(mResolver).notifyChange(URI, null);
}
@Ignore("b/315399487")
@Test
public void onActiveDeviceChanged_shouldNotifyChange() {
mBluetoothUpdateWorker.onActiveDeviceChanged(null, 0);