summaryrefslogtreecommitdiff
path: root/tasks/rspec.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-08-04 19:20:30 -0700
committerTim Smith <tsmith84@gmail.com>2020-08-04 19:20:30 -0700
commitaff5591ee445bccef79b89557840545ba4379d2c (patch)
tree43702c0741ddcec34a1cc8aa482b860d33269875 /tasks/rspec.rb
parent760e8b596f2be5b4e77bd076d9fece38dba1b723 (diff)
downloadchef-aff5591ee445bccef79b89557840545ba4379d2c.tar.gz
Speed up our bundle installs by always running 3 jobsfaster_bundler_installs
multi-job bundle install is the default in the next release, but for now we should make sure we set it everywhere. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'tasks/rspec.rb')
-rw-r--r--tasks/rspec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/rspec.rb b/tasks/rspec.rb
index 99b3563788..647efd647a 100644
--- a/tasks/rspec.rb
+++ b/tasks/rspec.rb
@@ -30,7 +30,7 @@ begin
%w{chef-utils chef-config}.each do |gem|
Dir.chdir(gem) do
Bundler.with_unbundled_env do
- sh("bundle install")
+ sh("bundle install --jobs=3 --retry=3")
sh("bundle exec rake spec")
end
end