Add fix for BMC dump testcase
Changes:
- Moved the testcase 'Verify Core Watchdog Initiated BMC Dump' to last so
that it does not unnecessarily impact subsequent testcases.
Tested:
- Ran the relevent testcases from sandbox successfully.
Change-Id: Iccfde4239a2ea34c26fe3f11040eb3cbd817bbb6
Signed-off-by: manashsarma <manashsarma@in.ibm.com>
diff --git a/redfish/managers/test_bmc_dumps.robot b/redfish/managers/test_bmc_dumps.robot
index 66f9700..8a44cad 100644
--- a/redfish/managers/test_bmc_dumps.robot
+++ b/redfish/managers/test_bmc_dumps.robot
@@ -387,25 +387,6 @@
Should Be Equal As Integers ${length} ${1}
-Verify Core Watchdog Initiated BMC Dump
- [Documentation] Verify core watchdog timeout initiated BMC dump.
- [Tags] Verify_Core_Watchdog_Initiated_BMC_Dump
-
- Redfish Delete All BMC Dumps
- Redfish Power Off stack_mode=skip
-
- # Trigger watchdog timeout.
- Redfish Initiate Auto Reboot 2000
-
- # Wait for BMC dump to get generated after injecting watchdog timeout.
- Wait Until Keyword Succeeds 4 min 20 sec Is BMC Dump Available
-
- # Verify that only one BMC dump is available.
- ${dump_entry_list}= Get BMC Dump Entries
- ${length}= Get length ${dump_entry_list}
- Should Be Equal As Integers ${length} ${1}
-
-
Verify User Initiated BMC Dump Type
[Documentation] Download user initiate BMC dump and validates its type.
[Tags] Verify_User_Initiated_BMC_Dump_Type
@@ -499,6 +480,25 @@
Remove Directory ${extracted_dump_folder} True
+Verify Core Watchdog Initiated BMC Dump
+ [Documentation] Verify core watchdog timeout initiated BMC dump.
+ [Tags] Verify_Core_Watchdog_Initiated_BMC_Dump
+
+ Redfish Delete All BMC Dumps
+ Redfish Power Off stack_mode=skip
+
+ # Trigger watchdog timeout.
+ Redfish Initiate Auto Reboot 2000
+
+ # Wait for BMC dump to get generated after injecting watchdog timeout.
+ Wait Until Keyword Succeeds 4 min 20 sec Is BMC Dump Available
+
+ # Verify that only one BMC dump is available.
+ ${dump_entry_list}= Get BMC Dump Entries
+ ${length}= Get length ${dump_entry_list}
+ Should Be Equal As Integers ${length} ${1}
+
+
*** Keywords ***
Download BMC Dump