Skip to content

Commit

Permalink
Correctly configure Aruba command timeout
Browse files Browse the repository at this point in the history
This removes the misconfiguration of Aruba timeout by instance variable
  • Loading branch information
joshuaclayton committed Apr 7, 2016
1 parent 6b8ba60 commit 9e0b178
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
@@ -1,4 +1,6 @@
language: ruby
env:
- ARUBA_TIMEOUT=240
before_install:
- gem update --system
- gem update bundler
Expand Down
4 changes: 2 additions & 2 deletions features/support/env.rb
Expand Up @@ -2,8 +2,8 @@

PROJECT_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..', '..')).freeze

Before do
@aruba_timeout_seconds = 3600
Aruba.configure do |config|
config.exit_timeout = Integer ENV.fetch("ARUBA_TIMEOUT") { 120 }
end

Aruba.configure do |config|
Expand Down

0 comments on commit 9e0b178

Please sign in to comment.