[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.
This commit is contained in:
Jonah Williams
2020-06-18 11:15:45 -07:00
committed by GitHub
parent df02518dc9
commit d4e1448b95

View File

@@ -47,7 +47,6 @@ void main() {
<String>[
'run',
'--machine',
'--verbose',
'--no-fast-start',
'-d',
device.deviceId,
@@ -74,10 +73,6 @@ void main() {
ok ??= true;
}
});
transformToLines(run.stderr).listen((String line) {
stderr.writeln('run:stderr: $line');
ok = false;
});
run.exitCode.then<void>((int exitCode) {
ok = false;
});