Unverified Commit 9383ec79 authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

mark flaky tests as flaky (#69633)

parent 01c07e18
...@@ -160,13 +160,13 @@ ...@@ -160,13 +160,13 @@
"name": "Mac build_ios_framework_module_test", "name": "Mac build_ios_framework_module_test",
"repo": "flutter", "repo": "flutter",
"task_name": "mac_build_ios_framework_module_test", "task_name": "mac_build_ios_framework_module_test",
"flaky": false "flaky": true
}, },
{ {
"name": "Mac build_tests", "name": "Mac build_tests",
"repo": "flutter", "repo": "flutter",
"task_name": "mac_build_tests", "task_name": "mac_build_tests",
"flaky": false "flaky": true
}, },
{ {
"name": "Mac build_gallery", "name": "Mac build_gallery",
......
...@@ -44,7 +44,7 @@ void main() { ...@@ -44,7 +44,7 @@ void main() {
project.uncommentHotReloadPrint(); project.uncommentHotReloadPrint();
try { try {
await flutter.hotRestart(); await flutter.hotRestart();
await completer.future; await completer.future.timeout(const Duration(seconds: 15));
} finally { } finally {
await subscription.cancel(); await subscription.cancel();
} }
...@@ -62,7 +62,7 @@ void main() { ...@@ -62,7 +62,7 @@ void main() {
project.uncommentHotReloadPrint(); project.uncommentHotReloadPrint();
try { try {
await flutter.hotRestart(); await flutter.hotRestart();
await completer.future; await completer.future.timeout(const Duration(seconds: 15));
} finally { } finally {
await subscription.cancel(); await subscription.cancel();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment