mark flaky tests as flaky (#69633)

This commit is contained in:
Jonah Williams
2020-11-02 18:15:20 -08:00
committed by GitHub
parent 01c07e18b9
commit 9383ec793b
2 changed files with 4 additions and 4 deletions

View File

@@ -160,13 +160,13 @@
"name": "Mac build_ios_framework_module_test",
"repo": "flutter",
"task_name": "mac_build_ios_framework_module_test",
"flaky": false
"flaky": true
},
{
"name": "Mac build_tests",
"repo": "flutter",
"task_name": "mac_build_tests",
"flaky": false
"flaky": true
},
{
"name": "Mac build_gallery",

View File

@@ -44,7 +44,7 @@ void main() {
project.uncommentHotReloadPrint();
try {
await flutter.hotRestart();
await completer.future;
await completer.future.timeout(const Duration(seconds: 15));
} finally {
await subscription.cancel();
}
@@ -62,7 +62,7 @@ void main() {
project.uncommentHotReloadPrint();
try {
await flutter.hotRestart();
await completer.future;
await completer.future.timeout(const Duration(seconds: 15));
} finally {
await subscription.cancel();
}