Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 8e89547

Browse files
Disable some flaky tests (#4274)
These tests are failing frequently, and interfering with the tree staying open. Tracking issues: flutter/flutter#88837 flutter/flutter#86915 flutter/flutter#86757
1 parent a011b30 commit 8e89547

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

packages/android_alarm_manager/example/android/app/src/androidTest/java/io/plugins/androidalarmmanager/BackgroundExecutionTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import androidx.test.ext.junit.runners.AndroidJUnit4;
1818
import androidx.test.rule.ActivityTestRule;
1919
import org.junit.Before;
20+
import org.junit.Ignore;
2021
import org.junit.Rule;
2122
import org.junit.Test;
2223
import org.junit.runner.RunWith;
@@ -39,6 +40,7 @@ public void setUp() throws Exception {
3940
ActivityScenario.launch(DriverExtensionActivity.class);
4041
}
4142

43+
@Ignore("Disabled due to flake: https://github.com/flutter/flutter/issues/88837")
4244
@Test
4345
public void startBackgroundIsolate() throws Exception {
4446

packages/video_player/video_player/example/integration_test/video_player_test.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,9 @@ void main() {
220220

221221
await tester.pumpAndSettle();
222222
expect(_controller.value.isPlaying, true);
223-
}, skip: kIsWeb); // Web does not support local assets.
223+
},
224+
skip: kIsWeb || // Web does not support local assets.
225+
// Extremely flaky on iOS: https://github.com/flutter/flutter/issues/86915
226+
defaultTargetPlatform == TargetPlatform.iOS);
224227
});
225228
}

packages/webview_flutter/webview_flutter/example/integration_test/webview_flutter_test.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1330,7 +1330,9 @@ void main() {
13301330
await pageLoaded.future;
13311331
final String? currentUrl = await controller.currentUrl();
13321332
expect(currentUrl, 'https://flutter.dev/');
1333-
});
1333+
},
1334+
// Flaky on Android: https://github.com/flutter/flutter/issues/86757
1335+
skip: Platform.isAndroid);
13341336

13351337
// TODO(bparrishMines): skipped due to https://github.com/flutter/flutter/issues/86757.
13361338
testWidgets(

0 commit comments

Comments
 (0)