Changes for running test_ipmi_resets suite with Inband IPMI also
Below are the changes done:
1. Replacing external IPMI with standard IPMI command
2. Removing suite setup as it not required
Change-Id: I1d58161cf3cb4af70768aa6a61c255653b335f41
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
diff --git a/tests/ipmi/test_ipmi_resets.robot b/tests/ipmi/test_ipmi_resets.robot
index 3efa6f2..2e99d1e 100755
--- a/tests/ipmi/test_ipmi_resets.robot
+++ b/tests/ipmi/test_ipmi_resets.robot
@@ -7,7 +7,6 @@
Resource ../../lib/utils.robot
Resource ../../lib/boot_utils.robot
-Suite Setup Suite Setup Execution
Test Teardown FFDC On Test Case Fail
*** Variables ***
@@ -35,25 +34,6 @@
[Tags] Verify_BMC_Power_Cycle_via_IPMI
REST Power On stack_mode=skip
- Run External IPMI Standard Command chassis power cycle
+ Run IPMI Standard Command chassis power cycle
Wait Until Keyword Succeeds 3 min 10 sec Is Host Off
Wait Until Keyword Succeeds 3 min 10 sec Is Host Running
-
-*** Keywords ***
-
-Suite Setup Execution
- [Documentation] Power off and wait for chassis power to be off.
-
- ${resp}= Run IPMI Standard Command chassis power off
- Should Be Equal As Strings ${resp} Chassis Power Control: Down/Off
- ... msg=Unexpected chassis power control message output.
-
- Wait Until Keyword Succeeds 3 min 20 sec Is Chassis Power Off
-
-
-Is Chassis Power Off
- [Documentation] Check for chassis power to be off.
-
- ${resp}= Run IPMI Standard Command chassis power status
- Should Be Equal As Strings ${resp} Chassis Power is off
- ... msg=Chassis power is not off as expected.