Update firmware state checking logic during upload

Noticed the firmware state changed to Enabled quick and also
the quick GET request during this window caused redfish call to
fail returning 500 response code.

Change-Id: I56af21ed734f44f498d0210fcb8ca411a3f984d3
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/lib/redfish_code_update_utils.robot b/lib/redfish_code_update_utils.robot
index 0d7fc56..96ef7ac 100644
--- a/lib/redfish_code_update_utils.robot
+++ b/lib/redfish_code_update_utils.robot
@@ -173,8 +173,10 @@
     ${image_id}=  Get Latest Image ID
     Rprint Vars  image_id
 
-    Wait Until Keyword Succeeds  1 min  01 sec
-    ...  Check Image Update Progress State  match_state='Disabled', 'Updating'  image_id=${image_id}
+    # We have noticed firmware inventory state Enabled quickly as soon the image
+    # is uploaded via redfish.
+    Wait Until Keyword Succeeds  1 min  03 sec
+    ...  Check Image Update Progress State  match_state='Disabled', 'Updating', 'Enabled'  image_id=${image_id}
 
     Wait Until Keyword Succeeds  8 min  10 sec
     ...  Check Image Update Progress State