Automation fix for VMI certificate

Changes:
    - Modified "Send CSR Request When VMI Is Off And Verify" TC

Tested:
    - Ran test_vmicert_management.robot

Change-Id: I04060c006cfd17793854f2e43ed989c6145d41e4
Signed-off-by: Megha G N <Megha.G.N@ibm.com>
diff --git a/openpower/ext_interfaces/test_vmicert_management.robot b/openpower/ext_interfaces/test_vmicert_management.robot
index b7e2dfa..05de1d2 100644
--- a/openpower/ext_interfaces/test_vmicert_management.robot
+++ b/openpower/ext_interfaces/test_vmicert_management.robot
@@ -71,7 +71,8 @@
     [Documentation]  Send CSR signing request to VMI when it is off and expect an error.
     [Tags]  Send_CSR_Request_When_VMI_Is_Off_And_Verify
     [Setup]  Redfish Power Off
-    [Teardown]  Run keywords  Redfish Power On  stack_mode=skip  AND  FFDC On Test Case Fail
+    [Teardown]  Run Keywords  Redfish Power On  stack_mode=skip  AND
+    ...  Wait For Host Boot Progress To Reach Required State
     [Template]  Get Certificate Signed By VMI
 
     # username           password             force_create  valid_csr  valid_status_code         read_timeout
@@ -109,7 +110,8 @@
     [Documentation]  Get root certificate when vmi is off and verify.
     [Tags]  Get_Root_Certificate_When_VMI_Is_Off_And_Verify
     [Setup]  Redfish Power Off
-    [Teardown]  Run keywords  Redfish Power On  stack_mode=skip  AND  FFDC On Test Case Fail
+    [Teardown]  Run Keywords  Redfish Power On  stack_mode=skip  AND
+    ...  Wait For Host Boot Progress To Reach Required State
     [Template]  Get Root Certificate
 
     # username           password             force_create  valid_csr  valid_status_code