Code Update and Verify Apply time persistency
Added code to verify the apply time is always same after code update.
Change-Id: I42ce6edf12d9db7147a0e3b1535a06184cc20b7f
Signed-off-by: Sushil Singh <susilsi7@in.ibm.com>
diff --git a/redfish/update_service/test_redfish_bmc_code_update.robot b/redfish/update_service/test_redfish_bmc_code_update.robot
index 36715ed..f8570e5 100644
--- a/redfish/update_service/test_redfish_bmc_code_update.robot
+++ b/redfish/update_service/test_redfish_bmc_code_update.robot
@@ -52,10 +52,8 @@
Suite Setup Execution
[Documentation] Do the suite setup.
- # Checking for file existence.
Valid File Path IMAGE_FILE_PATH
Redfish.Login
- # Delete BMC dump and Error logs.
Delete All BMC Dump
Redfish Purge Event Log
@@ -74,4 +72,5 @@
Redfish Upload Image And Check Progress State
Reboot BMC And Verify BMC Image
... ${apply_time} start_boot_seconds=${state['epoch_seconds']}
+ Verify Get ApplyTime ${apply_time}
diff --git a/redfish/update_service/test_redfish_host_code_update.robot b/redfish/update_service/test_redfish_host_code_update.robot
index 08b5c44..d86be23 100644
--- a/redfish/update_service/test_redfish_host_code_update.robot
+++ b/redfish/update_service/test_redfish_host_code_update.robot
@@ -71,4 +71,5 @@
Set ApplyTime policy=${apply_Time}
Redfish Upload Image And Check Progress State
Poweron Host And Verify Host Image ${apply_time}
+ Verify Get ApplyTime ${apply_time}