Fix emulator setup timeouts.

adb wait-for-device is not reliable and it times out ~2% of the time.
This CL uses adb shell true instead with a timeout to fail fast in those
cases when the emulator is not available.

Bug: https://github.com/flutter/flutter/issues/137947

Change-Id: I28d459101eba59d3e1db1e34840d34c6ee0d7997
Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/54686
Reviewed-by: Ricardo Amador <ricardoamador@google.com>
Commit-Queue: Godofredo Contreras <godofredoc@google.com>
1 file changed
tree: 0634e0699503eaf9c4fde35c04eac18e8714001b
  1. infra/
  2. recipe_modules/
  3. recipes/
  4. .gitignore
  5. .style.yapf
  6. AUTHORS
  7. CONTRIBUTING.md
  8. LICENSE
  9. OWNERS
  10. README.md
  11. recipes.py
README.md

Flutter LUCI Recipes

This repository contains Flutter's LUCI recipes. For the LUCI infrastructure config, see flutter/infra. Builds can be found in the Flutter Dashboard.

Supported repositories roll their .ci.yaml into flutter/infra, which updates what properties builds have. For example, flutter config specifies various dependencies the different tests require, which are then used by the flutter_deps recipe_module No modifications to flutter/infra are required to work on the recipes.

Contributing

Please follow instructions on Contributing docs to set up your development environment.