Show waiting for boot failure when boot actually fails.
Before when "Waiting for AVD(s) to boot up ..." message would show OK
regardless if the AVD successfully booted up or not. Not we show fail if
the boot times out.
Bug: 120613478
Test: acloud create with fake induced timeout
Change-Id: Ieaa00b4974bf9ad755de7ccf3ca3e7b8494231d5
diff --git a/public/actions/common_operations.py b/public/actions/common_operations.py
index dbdd3a2..21181a1 100644
--- a/public/actions/common_operations.py
+++ b/public/actions/common_operations.py
@@ -131,7 +131,8 @@
self.devices.append(
avd.AndroidVirtualDevice(ip=ip, instance_name=instance))
- @utils.TimeExecute(function_description="Waiting for AVD(s) to boot up")
+ @utils.TimeExecute(function_description="Waiting for AVD(s) to boot up",
+ result_evaluator=utils.BootEvaluator)
def WaitForBoot(self):
"""Waits for all devices to boot up.