Add host OS progress status check
The CI and inventory test are broken because the power on/off
didn't check if the OS started. The power on/off needs to be
updated when the equivalent xyz status progress code becomes
available.
Resolves openbmc/openbmc-test-automation#408
Change-Id: Iaf31687e2c1a38e07964e4b48bb8ef80bed489a1
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/tests/test_inventory.robot b/tests/test_inventory.robot
index e4102f0..b70bc54 100644
--- a/tests/test_inventory.robot
+++ b/tests/test_inventory.robot
@@ -59,6 +59,9 @@
Run Keyword If '${current_state}' == 'Off'
... Initiate Host Boot
+ Wait Until Keyword Succeeds
+ ... 10 min 10 sec Is OS Starting
+
Get Inventory
[Documentation] Get the properties of an endpoint.