Fix the fail condition by attempting to restart the emulator up to 3
times. This prevents the test from hanging due to the emulator crashing silently (https://b.corp.google.com/issues/319321211).

While this is not a fix it should prevent us from hitting the hang.

Example of it preventing the fail and the subsequent hang in the setup method: https://ci.chromium.org/ui/p/flutter/builders/prod.shadow/Linux%20Production%20Engine%20Drone/66/overview

Bug: https://github.com/flutter/flutter/issues/141292
Change-Id: I83e477a538dccc77aa6b192a891b38b1c2f0dbdd
Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/53961
Commit-Queue: Ricardo Amador <ricardoamador@google.com>
Reviewed-by: Yusuf Mohsinally <mohsinally@google.com>
3 files changed
tree: 559faee74ec30ce18347af36d98e1b480b9bce8f
  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.