diff options
author | Salim Alam <salam@chef.io> | 2016-02-09 11:17:19 -0800 |
---|---|---|
committer | Salim Alam <salam@chef.io> | 2016-02-09 15:05:06 -0800 |
commit | fc7dcb24b24be1f096f195e08a3433c39b285212 (patch) | |
tree | 43f6c1cbf51c9b87ef54b1f70676a86132a06110 /acceptance | |
parent | 16cfd8e7b465f09c46aee2de0c99dcd3837456ec (diff) | |
download | chef-fc7dcb24b24be1f096f195e08a3433c39b285212.tar.gz |
Make kitchen run concurrentlysalam/learn-chef
Diffstat (limited to 'acceptance')
-rw-r--r-- | acceptance/.shared/kitchen_acceptance/libraries/kitchen.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/acceptance/.shared/kitchen_acceptance/libraries/kitchen.rb b/acceptance/.shared/kitchen_acceptance/libraries/kitchen.rb index 0d4a388cd5..d3913ebb11 100644 --- a/acceptance/.shared/kitchen_acceptance/libraries/kitchen.rb +++ b/acceptance/.shared/kitchen_acceptance/libraries/kitchen.rb @@ -25,7 +25,7 @@ module KitchenAcceptance property :artifactory_username, String, default: lazy { ENV["ARTIFACTORY_USERNAME"] } property :artifactory_password, String, default: lazy { ENV["ARTIFACTORY_PASSWORD"] } property :env, Hash, default: {} - property :kitchen_options, String, default: "-l debug" + property :kitchen_options, String, default: lazy { ENV["PROJECT_NAME"] ? "-c -l debug" : "-c" } action :run do execute "bundle exec kitchen #{command}#{instances ? " #{instances}" : ""}#{kitchen_options ? " #{kitchen_options}" : ""}" do |