Skip to content

Commit

Permalink
Bumped the wait time for the iOS controller startup to prevent failures
Browse files Browse the repository at this point in the history
  • Loading branch information
bentoi committed Mar 13, 2020
1 parent b79c989 commit 1095cc0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/Util.py
Original file line number Diff line number Diff line change
Expand Up @@ -2248,7 +2248,7 @@ def callback(future):
pass

nRetry = 0
while nRetry < 24:
while nRetry < 120:
nRetry += 1

if self.supportsDiscovery():
Expand All @@ -2260,9 +2260,9 @@ def callback(future):
if ident in self.processControllerProxies:
return self.processControllerProxies[ident]

# If the controller isn't up after 30s, we restart it. With the iOS simulator,
# If the controller isn't up after a while, we restart it. With the iOS simulator,
# it's not uncommon to get Springoard crashes when starting the controller.
if nRetry == 18:
if nRetry == 50:
sys.stdout.write("controller application unreachable, restarting... ")
sys.stdout.flush()
self.restartControllerApp(current, ident)
Expand Down

0 comments on commit 1095cc0

Please sign in to comment.