Added waiting time for the tests
Changes:
- Added explicit wait 5s to allow user password to get set
Change-Id: I2242131487a16ad278f4b3ab122ac52a53f0512a
Signed-off-by: Sushma M M <sushmm99@in.ibm.com>
diff --git a/ipmi/test_ipmi_user.robot b/ipmi/test_ipmi_user.robot
index bbc82c2..519418b 100644
--- a/ipmi/test_ipmi_user.robot
+++ b/ipmi/test_ipmi_user.robot
@@ -133,6 +133,9 @@
${msg}= Run Keyword And Expect Error * Run IPMI Standard Command
... user set password ${random_userid} ${invalid_password}
+ # Delay added for user password to get set.
+ Sleep 5s
+
Should Contain ${msg} Set User Password command failed
Verify Setting IPMI Root User With New Name
@@ -346,6 +349,9 @@
Run IPMI Standard Command
... user set password ${root_userid} ${valid_password}
+ # Delay added for user password to get set.
+ Sleep 5s
+
# Verify that root user is able to run IPMI command using new password.
Wait Until Keyword Succeeds 15 sec 5 sec Verify IPMI Username And Password
... root ${valid_password}