diff options
author | Douwe Maan <douwe@gitlab.com> | 2016-06-07 16:44:06 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2016-06-07 16:44:06 +0300 |
commit | 3fd0b364ea54832a861482d609bd25d485d5ac9c (patch) | |
tree | 2962073e273de8d1c2a9ca47652dc9a040b69fbc /spec | |
parent | 981829f3dec7a523f09ad9a5f0550786a613ff8d (diff) | |
parent | 12dd7bd7e59c8ce95c29f4ab2f08a6d9c513b734 (diff) |
Merge branch 'knapsack' into 'master'
Use Knapsack to evenly distribute specs
Try to distribute all tests evenly accross all nodes to reduce the testing time of GitLab CE.
This uses high amount of auto-scaled machines.
See merge request !4240
Diffstat (limited to 'spec')
-rw-r--r-- | spec/spec_helper.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 576d16e7ea3..a20f4c05971 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -15,6 +15,9 @@ require 'rspec/rails' require 'shoulda/matchers' require 'sidekiq/testing/inline' require 'rspec/retry' +require 'knapsack' + +Knapsack::Adapters::RSpecAdapter.bind # Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdirectories. |