Circumvent OCC and Power check in HW_CI test bucket
Now user can control the code logic using CLI:
Example:
Values options are 1 to enforce and 0 to skip
-v additional_occ_check:1
-v additional_power_check:1
Change-Id: I062ae06ee77d09bdddc4969a1856073de7a34bf0
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/redfish/systems/test_power_operations.robot b/redfish/systems/test_power_operations.robot
index ff4f7bd..3cbcbc1 100644
--- a/redfish/systems/test_power_operations.robot
+++ b/redfish/systems/test_power_operations.robot
@@ -12,6 +12,7 @@
# Extended code to check OCC state, power metric and others.
${additional_power_check} ${1}
+${additional_occ_check} ${1}
*** Test Cases ***
@@ -38,7 +39,7 @@
Redfish Power On
- Run Keyword If ${additional_power_check} == ${1}
+ Run Keyword If ${additional_occ_check} == ${1}
... Wait Until Keyword Succeeds 3 mins 30 secs Match OCC And CPU State Count
Run Keyword If ${additional_power_check} == ${1} Power Check