Increase timedout and retry wait time for code upload
The change is to facilitate increasing BMC image size, that the
assumed timedout is needed to be increased as well else it fails
during file upload due to insufficient time windows to transfer
to the BMC /tmp/images/ location.
Change-Id: I4d2f4c5fe41942ca3eb95f6c511394174ea6dea8
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/code_update_utils.robot b/lib/code_update_utils.robot
index 0119bb9..150e8bf 100644
--- a/lib/code_update_utils.robot
+++ b/lib/code_update_utils.robot
@@ -222,8 +222,8 @@
${image_data}= OperatingSystem.Get Binary File ${image_file_path}
- Wait Until Keyword Succeeds 3 times 60 sec
- ... Upload Image To BMC /upload/image timeout=${30} data=${image_data}
+ Wait Until Keyword Succeeds 3 times 120 sec
+ ... Upload Image To BMC /upload/image timeout=${90} data=${image_data}
${ret} ${version_id}= Verify Image Upload ${image_version}
Should Be True ${ret}