Reduce the time between checking that activating images are active

Change-Id: I6e08d12dda2256dfa35e6f3cad72e6d92d8b2238
Signed-off-by: Charles Paul Hofer <Charles.Hofer@ibm.com>
diff --git a/lib/code_update_utils.py b/lib/code_update_utils.py
index 252a6eb..f569410 100644
--- a/lib/code_update_utils.py
+++ b/lib/code_update_utils.py
@@ -110,7 +110,7 @@
     retry = 0
     num_read_errors = 0
     read_fail_threshold = 1
-    while (retry < 20):
+    while (retry < 30):
         # TODO: Use retry option in run_key when available.
         status, software_state = keyword.run_key("Read Properties  " +
                                     var.SOFTWARE_VERSION_URI + str(version_id),
@@ -121,12 +121,12 @@
                 message = "Read errors exceeds threshold:\n " \
                         + gp.sprint_vars(num_read_errors, read_fail_threshold)
                 BuiltIn().fail(message)
-            time.sleep(30)
+            time.sleep(10)
             continue
 
         current_state = (software_state)["Activation"]
         if (initial_state == current_state):
-            time.sleep(60)
+            time.sleep(10)
             retry += 1
             num_read_errors = 0
         else: