[moblab] Add some more options that are needed for retry to work

Turns out you need to set the max_retries, and wait for results
flags for the retries to actually work.

BUG=chromium:766235,chromium:675041
TEST=local moblab runs

Change-Id: I780abc1e316f6b77bc67802c8d7d21f560503ef7
Reviewed-on: https://chromium-review.googlesource.com/671879
Commit-Ready: Keith Haddow <[email protected]>
Tested-by: Keith Haddow <[email protected]>
Reviewed-by: Keith Haddow <[email protected]>
Reviewed-by: Michael Tang <[email protected]>
diff --git a/frontend/afe/moblab_rpc_interface.py b/frontend/afe/moblab_rpc_interface.py
index 82bfa6e..60b0784 100644
--- a/frontend/afe/moblab_rpc_interface.py
+++ b/frontend/afe/moblab_rpc_interface.py
@@ -12,6 +12,7 @@
 import logging
 import os
 import re
+import sys
 import shutil
 import socket
 import StringIO
@@ -816,8 +817,8 @@
     afe = frontend.AFE(user='moblab')
     afe.run('create_suite_job', board=board, builds=builds, name=suite,
             pool=pool, run_prod_code=False, test_source_build=build,
-            wait_for_results=False, suite_args=processed_suite_args,
-            test_args=test_args, job_retry=True)
+            wait_for_results=True, suite_args=processed_suite_args,
+            test_args=test_args, job_retry=True, max_retries=sys.maxint)
 
 
 def _enable_notification_using_credentials_in_bucket():