Unverified Commit d4e1448b authored by Jonah Williams's avatar Jonah Williams Committed by GitHub

[devicelab] fix concurrent hot reload test: stderr != failure (#59784)

The tool needs to start outputing trace text to stderr to avoid breaking machine mode. This test is bogus, and should use the exit code.
parent df02518d
...@@ -47,7 +47,6 @@ void main() { ...@@ -47,7 +47,6 @@ void main() {
<String>[ <String>[
'run', 'run',
'--machine', '--machine',
'--verbose',
'--no-fast-start', '--no-fast-start',
'-d', '-d',
device.deviceId, device.deviceId,
...@@ -74,10 +73,6 @@ void main() { ...@@ -74,10 +73,6 @@ void main() {
ok ??= true; ok ??= true;
} }
}); });
transformToLines(run.stderr).listen((String line) {
stderr.writeln('run:stderr: $line');
ok = false;
});
run.exitCode.then<void>((int exitCode) { run.exitCode.then<void>((int exitCode) {
ok = false; ok = false;
}); });
......
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