diff options
author | Andre Arko <andre@arko.net> | 2013-12-13 23:28:15 -0800 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2013-12-13 23:28:15 -0800 |
commit | 8709e99a201552b91b044167263c330cbfb9c3e1 (patch) | |
tree | d7e62960f68848e7241c4ea0f09f62cc654f0744 /spec/realworld/parallel_update_spec.rb | |
parent | 45d977d88c5cd1cb4cc431492345118ba1a29043 (diff) | |
download | bundler-8709e99a201552b91b044167263c330cbfb9c3e1.tar.gz |
change the parallel spec to check for two workers
with four workers, it's possible that one of the workers will never
actually get a chance to install a gem, and then the test will fail
Diffstat (limited to 'spec/realworld/parallel_update_spec.rb')
-rw-r--r-- | spec/realworld/parallel_update_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/realworld/parallel_update_spec.rb b/spec/realworld/parallel_update_spec.rb index 3f7f1033..7b4bb585 100644 --- a/spec/realworld/parallel_update_spec.rb +++ b/spec/realworld/parallel_update_spec.rb @@ -16,8 +16,8 @@ describe "updating dependencies parallely", :realworld => true do gem 'faker', '~> 1.1.2' G - bundle :update, :jobs => 4, :env => {"DEBUG" => "1"} - (0..3).each {|i| expect(out).to include("#{i}: ") } + bundle :update, :jobs => 2, :env => {"DEBUG" => "1"} + (0..1).each {|i| expect(out).to include("#{i}: ") } bundle "show activesupport" expect(out).to match(/activesupport-3\.2\.13/) |