mirror of
https://github.com/thoughtbot/factory_bot_rails.git
synced 2022-11-09 11:49:18 -05:00
Correctly configure Aruba command timeout
This removes the misconfiguration of Aruba timeout by instance variable
This commit is contained in:
parent
6b8ba60031
commit
9e0b178c6f
2 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,6 @@
|
||||||
language: ruby
|
language: ruby
|
||||||
|
env:
|
||||||
|
- ARUBA_TIMEOUT=240
|
||||||
before_install:
|
before_install:
|
||||||
- gem update --system
|
- gem update --system
|
||||||
- gem update bundler
|
- gem update bundler
|
||||||
|
|
|
@ -2,8 +2,8 @@ require 'aruba/cucumber'
|
||||||
|
|
||||||
PROJECT_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..', '..')).freeze
|
PROJECT_ROOT = File.expand_path(File.join(File.dirname(__FILE__), '..', '..')).freeze
|
||||||
|
|
||||||
Before do
|
Aruba.configure do |config|
|
||||||
@aruba_timeout_seconds = 3600
|
config.exit_timeout = Integer ENV.fetch("ARUBA_TIMEOUT") { 120 }
|
||||||
end
|
end
|
||||||
|
|
||||||
Aruba.configure do |config|
|
Aruba.configure do |config|
|
||||||
|
|
Loading…
Reference in a new issue