Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase simctl install/launch app and simulator stable timeouts in CI environments #329

Merged

Conversation

jmoody
Copy link
Contributor

@jmoody jmoody commented Nov 17, 2015

Motivation

Calabash Jenkins CI is up and running again. It is now running on El Capitan. I noticed that in CI environments the defaults for:

  • simctl install app
  • simctl launch app
  • the simulator stable state

were too low; sometimes raising errors.

Run-loop now tries to detect CI environments. When it does, it significantly increases the CoreSimulator related timeouts.

In addition, users can control the following RunLoop::CoreSimulator::OPTIONS:

# How long to wait for an app to install.
:install_app_timeout => RunLoop::Environment.ci? ? 60 : 30,

# How long to wait for an app to launch.
:app_launch_timeout => RunLoop::Environment.ci? ? 60 : 30

Progress on:

@jmoody
Copy link
Contributor Author

jmoody commented Nov 17, 2015

Jenkins test this please

@TeresaP
Copy link
Contributor

TeresaP commented Nov 17, 2015

👍 Nice

jmoody added a commit that referenced this pull request Nov 17, 2015
…ulator-stable-timeouts-for-ci

Increase simctl install/launch app and simulator stable timeouts in CI environments
@jmoody jmoody merged commit 5ea72ec into develop Nov 17, 2015
@jmoody jmoody deleted the feature/increase-simctl-and-simulator-stable-timeouts-for-ci branch November 17, 2015 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants