Multiple times same firmware update
Changes:
- "Redfish Code Update Same Firmware With Multiple Times"
Tested:
- Ran successfully
Redfish Code Update Same Firmware With Multiple Times
test case.
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>
Change-Id: I5c18c5bc5951a6c9ae43fdc533fbef163637327b
diff --git a/redfish/update_service/test_redfish_bmc_code_update.robot b/redfish/update_service/test_redfish_bmc_code_update.robot
index ef3da4e..e050d23 100644
--- a/redfish/update_service/test_redfish_bmc_code_update.robot
+++ b/redfish/update_service/test_redfish_bmc_code_update.robot
@@ -34,6 +34,7 @@
@{ADMIN} admin_user TestPwd123
&{USERS} Administrator=${ADMIN}
+${LOOP_COUNT} ${2}
*** Test Cases ***
@@ -55,6 +56,22 @@
Immediate
+Redfish Code Update Same Firmware Multiple Times
+ [Documentation] Multiple times update the firmware image for update service.
+ [Tags] Redfish_Code_Update_Same_Firmware_Multiple_Times
+
+ ${temp_update_loop_count}= Evaluate ${LOOP_COUNT} + 1
+
+ FOR ${count} IN RANGE 1 ${temp_update_loop_count}
+ Print Timen **************************************
+ Print Timen * The Current Loop Count is ${count} of ${LOOP_COUNT} *
+ Print Timen **************************************
+
+ Redfish Update Firmware apply_time=OnReset
+ END
+
+
+
Redfish Code Update With Multiple Firmware
[Documentation] Update the firmware image with ApplyTime of Immediate.
[Tags] Redfish_Code_Update_With_Multiple_Firmware