Removed timeowner for Redfish tests
This change is wrt the code
https://gerrit.openbmc-project.xyz/#/c/openbmc/phosphor-time-manager/+/31278/
Signed-off-by: Anusha Dathatri <adathatr@in.ibm.com>
Change-Id: I85846f32f87585cb1d0ec200004aed67bc167479
diff --git a/redfish/managers/test_managers_bmc_time.robot b/redfish/managers/test_managers_bmc_time.robot
index 34c0f93..c860c97 100644
--- a/redfish/managers/test_managers_bmc_time.robot
+++ b/redfish/managers/test_managers_bmc_time.robot
@@ -45,7 +45,7 @@
[Documentation] Verify set time using redfish API.
[Tags] Verify_Set_Time_Using_Redfish
- Rest Set Time Owner
+ Set Time To Manual Mode
${old_bmc_time}= CLI Get BMC DateTime
# Add 3 days to current date.
@@ -201,15 +201,11 @@
... &{kwargs}
-Rest Set Time Owner
- [Documentation] Set time owner of the system via REST.
+Set Time To Manual Mode
+ [Documentation] Set date time to manual mode via REST.
${data}= Create Dictionary data=${MANUAL_MODE}
Write Attribute ${TIME_MANAGER_URI}sync_method TimeSyncMethod data=${data} verify=${TRUE}
- Sleep 5s
-
- ${data}= Create Dictionary data=${BOTH_OWNER}
- Write Attribute ${TIME_MANAGER_URI}owner TimeOwner data=${data} verify=${TRUE}
Restore NTP Mode
@@ -228,7 +224,7 @@
Printn
Redfish.Login
- Rest Set Time Owner
+ Set Time To Manual Mode
Suite Teardown Execution
[Documentation] Do the suite level teardown.
@@ -236,5 +232,5 @@
Redfish.Patch ${REDFISH_NW_PROTOCOL_URI}
... body={'NTP':{'NTPServers': ['${EMPTY}', '${EMPTY}']}}
... valid_status_codes=[${HTTP_OK}, ${HTTP_NO_CONTENT}]
- Rest Set Time Owner
+ Set Time To Manual Mode
Redfish.Logout