Simplify devicelab logic and fix tests (#139122)

- fix https://github.com/flutter/flutter/issues/53707 by having the test not expect a timeout but instead actually look for the retry message
- simplify the `--task` option to only accept task names rather than also accepting paths
- remove some obsolete options that referred to the manifest which no longer seems to exist
This commit is contained in:
Ian Hickson
2023-11-29 00:41:27 -08:00
committed by GitHub
parent c5328650f1
commit 5e216d44ca
6 changed files with 59 additions and 61 deletions

View File

@@ -7,5 +7,8 @@
/// By not calling `task()` the VM service extension is not registered and
/// therefore will not accept requests to run tasks. When the runner attempts to
/// connect and run the test it will receive a "method not found" error from the
/// VM service, will likely retry and finally time out.
/// VM service, will likely retry forever.
///
/// The test in ../../test/run_test.dart runs this task until it detects
/// the retry message and then aborts the task.
Future<void> main() async {}