Update REST setting service name
This change is needed due to recent change in the service name
from settings.service to phosphor-settings.service.
Change-Id: I20c441e7609011d3af32596059a3ccdd75aaef55
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/tests/test_openbmc_service_restart_policy.robot b/tests/test_openbmc_service_restart_policy.robot
index 8c42028..b1cc91d 100644
--- a/tests/test_openbmc_service_restart_policy.robot
+++ b/tests/test_openbmc_service_restart_policy.robot
@@ -64,18 +64,18 @@
... does restart after that
${MainPID}= Execute Restart Policy Command
- ... systemctl -p MainPID show settings.service| cut -d = -f2
+ ... systemctl -p MainPID show phosphor-settings.service| cut -d = -f2
Should Not Be Equal 0 ${MainPID}
Execute Restart Policy Command kill -9 ${MainPID}
Sleep 30s reason=Wait for service to restart properly
${ActiveState}= Execute Restart Policy Command
- ... systemctl -p ActiveState show settings.service| cut -d = -f2
+ ... systemctl -p ActiveState show phosphor-settings.service| cut -d = -f2
Should Be Equal active ${ActiveState}
${MainPID}= Execute Restart Policy Command
- ... systemctl -p MainPID show settings.service| cut -d = -f2
+ ... systemctl -p MainPID show phosphor-settings.service| cut -d = -f2
Should Not Be Equal 0 ${MainPID}