Add logic to power off the host in test suite
Changes:
- Added host power off code to prevent dump offload
so that dump can be deleted.
Tested:
Ran suite redfish/managers/test_bmc_dumps.robot
Signed-off-by: manashsarma <manashsarma@in.ibm.com>
Change-Id: I971f762f464cec63437720d1a9894ce193e1e7c8
diff --git a/redfish/managers/test_bmc_dumps.robot b/redfish/managers/test_bmc_dumps.robot
index 416c690..190afba 100644
--- a/redfish/managers/test_bmc_dumps.robot
+++ b/redfish/managers/test_bmc_dumps.robot
@@ -115,6 +115,9 @@
[Documentation] Delete all user initiated BMC dumps and verify.
[Tags] Delete_All_User_Initiated_BMC_Dumps_And_Verify
+ # Power off host so that dump is not offloaded to host OS.
+ Redfish Power Off stack_mode=skip
+
# Create some BMC dump.
Create User Initiated BMC Dump Via Redfish
Create User Initiated BMC Dump Via Redfish