Retry IPMI command on failure
Change-Id: Id5362d03bf700206be7ede794acde553cbd28b10
Signed-off-by: Rahul Maheshwari <rahulmaheshwari@in.ibm.com>
diff --git a/ipmi/test_ipmi_user.robot b/ipmi/test_ipmi_user.robot
index 8a73587..3ec74ff 100644
--- a/ipmi/test_ipmi_user.robot
+++ b/ipmi/test_ipmi_user.robot
@@ -425,7 +425,8 @@
# of above password and privilege (i.e. "Passed" or "Failed").
${expected_rc}= Set Variable If '${expected_status}' == 'Passed' ${0} ${1}
- Run IPMI Standard Command sel info ${channel} expected_rc=${expected_rc} U=${username} P=${password}
+ Wait Until Keyword Succeeds 15 sec 5 sec Run IPMI Standard Command
+ ... sel info ${channel} expected_rc=${expected_rc} U=${username} P=${password}
... L=${privilege}