From c972a85cde2752a501b59099be74ccdb1ceb51d4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20=C5=A0r=C3=A1mek?= <msramek@chromium.org>
Date: Mon, 21 Feb 2022 12:24:47 +0000
Subject: [PATCH] Disable
 WebEngineIntegrationMediaTest.MicrophoneAccess_WithPermission
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The test is flaky. As it only runs on the Fuchsia platform, it should
be disabled entirely without conditionals.

Bug: 1299352
Change-Id: Ib4af3f355cacb0becbb73f7611733edf3756032c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3476996
Owners-Override: Martin Šrámek <msramek@chromium.org>
Auto-Submit: Martin Šrámek <msramek@chromium.org>
Reviewed-by: Sean Harrison <harrisonsean@chromium.org>
Commit-Queue: Sean Harrison <harrisonsean@chromium.org>
Cr-Commit-Position: refs/heads/main@{#973490}
---
 fuchsia/engine/web_engine_integration_test.cc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/fuchsia/engine/web_engine_integration_test.cc b/fuchsia/engine/web_engine_integration_test.cc
index ed71a9d1a4c67..ec26f5bc3b5cb 100644
--- a/fuchsia/engine/web_engine_integration_test.cc
+++ b/fuchsia/engine/web_engine_integration_test.cc
@@ -436,7 +436,9 @@ TEST_F(WebEngineIntegrationTest, PermissionGranted) {
   RunPermissionTest(true);
 }
 
-TEST_F(WebEngineIntegrationMediaTest, MicrophoneAccess_WithPermission) {
+// TODO(crbug.com/1299352): Flaky.
+TEST_F(WebEngineIntegrationMediaTest,
+       DISABLED_MicrophoneAccess_WithPermission) {
   CreateContextAndFrame(ContextParamsWithAudioAndTestData());
 
   GrantPermission(