Set time by applying manual mode before time ownership to BMC
Change-Id: I6c74155546fca23d91e39a84729bc4c6e70cb60c
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/redfish/managers/test_managers_bmc_time.robot b/redfish/managers/test_managers_bmc_time.robot
index dfba145..7347f4f 100644
--- a/redfish/managers/test_managers_bmc_time.robot
+++ b/redfish/managers/test_managers_bmc_time.robot
@@ -197,7 +197,10 @@
Rest Set Time Owner
[Documentation] Set time owner of the system via REST.
- # BMC_OWNER is defined in variable.py.
+ ${data}= Create Dictionary data=${MANUAL_MODE}
+ Write Attribute ${TIME_MANAGER_URI}sync_method TimeSyncMethod data=${data} verify=${TRUE}
+ Sleep 5s
+
${data}= Create Dictionary data=${BMC_OWNER}
Write Attribute ${TIME_MANAGER_URI}owner TimeOwner data=${data} verify=${TRUE}