autotest: Don't omit to log retry command.

BUG=None
TEST=None

Change-Id: If4f284336d92f4c4da689e6c826805e0b852dbd5
Reviewed-on: https://chromium-review.googlesource.com/1192104
Reviewed-by: Xixuan Wu <xixuan@chromium.org>
Commit-Queue: Xixuan Wu <xixuan@chromium.org>
Tested-by: Xixuan Wu <xixuan@chromium.org>
diff --git a/venv/skylab_suite/suite_runner.py b/venv/skylab_suite/suite_runner.py
index 792c3bc..4c375b0 100644
--- a/venv/skylab_suite/suite_runner.py
+++ b/venv/skylab_suite/suite_runner.py
@@ -362,12 +362,12 @@
         no_logging = bool(iterations * SUITE_WAIT_SLEEP_INTERVAL_SECONDS % 300)
         with disable_logging(logging.INFO if no_logging else logging.NOTSET):
             suite_handler.handle_results(suite_handler.suite_id)
-            for t in suite_handler.retried_tasks:
-                _retry_test(suite_handler, t['task_id'], dry_run=dry_run)
-
             if suite_handler.is_finished_waiting():
                 break
 
+        for t in suite_handler.retried_tasks:
+            _retry_test(suite_handler, t['task_id'], dry_run=dry_run)
+
         time.sleep(SUITE_WAIT_SLEEP_INTERVAL_SECONDS)