[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:
@@ -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;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user