Unverified Commit 9f6b575e authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

[devicelab] mark uncaught exceptions as flaky (#68906)

* [devicelab] mark uncaight exceptions as flaky

* add print error output

* try and fix test
parent d75cda9d
...@@ -26,6 +26,8 @@ Future<void> main() async { ...@@ -26,6 +26,8 @@ Future<void> main() async {
'-t', '-t',
'lib/main.dart', 'lib/main.dart',
'-d', '-d',
'--no-pub',
'--no-android-gradle-daemon',
deviceId, deviceId,
]; ];
final Process process = await startProcess( final Process process = await startProcess(
...@@ -37,6 +39,8 @@ Future<void> main() async { ...@@ -37,6 +39,8 @@ Future<void> main() async {
.transform(utf8.decoder) .transform(utf8.decoder)
.transform(const LineSplitter()); .transform(const LineSplitter());
process.stderr.listen(print);
await for (final String line in lines) { await for (final String line in lines) {
print(line); print(line);
if (line.contains('ERROR caught by framework')) { if (line.contains('ERROR caught by framework')) {
......
...@@ -84,6 +84,7 @@ tasks: ...@@ -84,6 +84,7 @@ tasks:
completer completer
stage: devicelab stage: devicelab
required_agent_capabilities: ["linux/android"] required_agent_capabilities: ["linux/android"]
flaky: true
flutter_gallery_android__compile: flutter_gallery_android__compile:
description: > description: >
......
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