Fix BMC dump automated testcase
Changes:
- Added fix for automation test case
'Verify BMC Dump Create Errors While Another BMC Dump In Progress'.
Tested:
- Ran the test case with fix from sandbox successfully.
Change-Id: Ie099a11454e02a504177c78aee2c73b55ec9ca54
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 65ec04f..3fa4382 100644
--- a/redfish/managers/test_bmc_dumps.robot
+++ b/redfish/managers/test_bmc_dumps.robot
@@ -382,6 +382,8 @@
END
# The next BMC dump initiation request should be accepted as earlier dump is completed.
+ # Wait for few seconds before initiating the dump.
+ Sleep 2s
${resp}= Redfish.Post
... /redfish/v1/Managers/bmc/LogServices/Dump/Actions/LogService.CollectDiagnosticData
... body=${payload} valid_status_codes=[${HTTP_ACCEPTED}]