IPMI SOL power on test update to redfish
Change-Id: I2dc6a95dfaf164ab7916043406fd7b2ca88ec5da
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/ipmi/test_ipmi_sol.robot b/ipmi/test_ipmi_sol.robot
index 3ee3d2c..6541d45 100644
--- a/ipmi/test_ipmi_sol.robot
+++ b/ipmi/test_ipmi_sol.robot
@@ -4,6 +4,8 @@
Resource ../lib/ipmi_client.robot
Resource ../lib/openbmc_ffdc.robot
Resource ../lib/state_manager.robot
+Resource ../lib/boot_utils.robot
+Resource ../lib/bmc_redfish_resource.robot
Library ../lib/ipmi_utils.py
Test Setup Start SOL Console Logging
@@ -123,20 +125,11 @@
[Documentation] Verify SOL during boot.
[Tags] Verify_SOL_During_Boot
- ${current_state}= Get Host State Via External IPMI
- Run Keyword If '${current_state}' == 'on'
- ... Initiate Host PowerOff Via External IPMI
- Initiate Host Boot Via External IPMI wait=${0}
-
Activate SOL Via IPMI
- Wait Until Keyword Succeeds 3 mins 30 secs
- ... Check IPMI SOL Output Content Welcome to Hostboot
+ Redfish Power On
- Wait Until Keyword Succeeds 3 mins 30 secs
- ... Check IPMI SOL Output Content ISTEP
-
- # Allow the host to boot.
- Wait Until Keyword Succeeds 5 min 20 sec Is Host Running
+ Check IPMI SOL Output Content Welcome to Hostboot
+ Check IPMI SOL Output Content ISTEP
Verify Deactivate Non Existing SOL
diff --git a/redfish/extended/test_os_reboot.robot b/redfish/extended/test_os_reboot.robot
index 1954eda..f2ce7a5 100644
--- a/redfish/extended/test_os_reboot.robot
+++ b/redfish/extended/test_os_reboot.robot
@@ -1,6 +1,7 @@
*** Settings ***
Documentation Module to test OS reboot functionality.
+Resource ../../lib/bmc_redfish_resource.robot
Resource ../../lib/openbmc_ffdc.robot
Resource ../../lib/boot_utils.robot