Fixed redfish logout failures
Signed-off-by: Anusha Dathatri <adathatr@in.ibm.com>
Change-Id: I97879a6c53c2d8c8a6f64477467c5aa4efb44c4c
diff --git a/redfish/account_service/test_ipmi_redfish_user.robot b/redfish/account_service/test_ipmi_redfish_user.robot
index a010ac7..6df08fe 100644
--- a/redfish/account_service/test_ipmi_redfish_user.robot
+++ b/redfish/account_service/test_ipmi_redfish_user.robot
@@ -126,8 +126,13 @@
${username} ${userid}= IPMI Create Random User Plus Password And Privilege
... ${valid_password} ${admin_level_priv}
+ Redfish.Logout
+
# Verify user login using Redfish.
Redfish.Login ${username} ${valid_password}
+ Redfish.Logout
+
+ Redfish.Login
Update User Password Via IPMI And Verify Using Redfish
@@ -142,8 +147,13 @@
Run IPMI Standard Command
... user set password ${userid} ${valid_password2}
+ Redfish.Logout
+
# Verify that user login works with new password using Redfish.
Redfish.Login ${username} ${valid_password2}
+ Redfish.Logout
+
+ Redfish.Login
Update User Privilege Via IPMI And Verify Using Redfish