Setting stack mode as skip to avoid the reboot of the system.

Resolves openbmc/openbmc-test-automation#752

Change-Id: I98b31b7fe5046fb325fbc2223e225af4966b9a2f
Signed-off-by: Sweta Potthuri <spotthur@in.ibm.com>
diff --git a/tests/test_boot_policies.robot b/tests/test_boot_policies.robot
index 49c5862..0c2e572 100644
--- a/tests/test_boot_policies.robot
+++ b/tests/test_boot_policies.robot
@@ -7,6 +7,7 @@
 Resource           ../lib/utils.robot
 Resource           ../lib/openbmc_ffdc.robot
 Resource           ../lib/state_manager.robot
+Resource           ../lib/boot_utils.robot
 
 Suite Setup        Test Suite Setup
 Test Setup         Test Init Setup
@@ -16,6 +17,7 @@
 Force Tags  boot_policy_test
 
 *** Variables ***
+${stack_mode}       skip
 ${HOST_SETTINGS}    ${SETTINGS_URI}host0
 
 *** Test Cases ***
@@ -194,14 +196,8 @@
 Test Suite Setup
     [Documentation]  Do the initial suite setup.
 
-    # Reboot host to re-power on clean if host is not "off".
-    ${current_state}=  Get Host State
-    Run Keyword If  '${current_state}' == 'Off'
-    ...  Initiate Host Boot
-    ...  ELSE  Initiate Host Reboot
-
-    Wait Until Keyword Succeeds
-    ...  10 min  10 sec  Is OS Starting
+    #Boot Host.
+    REST Power On
 
 Restore Bootmode Setting
     [Documentation]  Restore initial bootmode setting.