Update power policy from RESTORE_LAST_STATE to ALWAYS_POWER_OFF
ALWAYS_POWER_OFF is the current default policy.
Resolves openbmc/openbmc-test-automation#1162
Change-Id: I7978afd38c46fb365d7c90cd6d276249cb576cc7
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/tests/ipmi/test_chassis.robot b/tests/ipmi/test_chassis.robot
index a3736ed..f129078 100755
--- a/tests/ipmi/test_chassis.robot
+++ b/tests/ipmi/test_chassis.robot
@@ -84,6 +84,6 @@
Test Exit Logs
[Documentation] Log FFDC if test failed.
- Set BMC Power Policy ${RESTORE_LAST_STATE}
+ Set BMC Power Policy ${ALWAYS_POWER_OFF}
FFDC On Test Case Fail
diff --git a/tests/test_power_restore.robot b/tests/test_power_restore.robot
index 54efb51..ed14153 100644
--- a/tests/test_power_restore.robot
+++ b/tests/test_power_restore.robot
@@ -171,5 +171,5 @@
[Documentation] Do the post suite teardown.
# 1. Set policy to default.
- Run Keyword And Ignore Error Set BMC Power Policy ${RESTORE_LAST_STATE}
+ Run Keyword And Ignore Error Set BMC Power Policy ${ALWAYS_POWER_OFF}