From: Andy Allan Date: Wed, 27 Nov 2019 13:58:36 +0000 (+0100) Subject: Enable parallel tests X-Git-Tag: live~3055^2~2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/6bd6cbd2031e4dce3c81db3fc669dbc42978b225 Enable parallel tests --- diff --git a/test/test_helper.rb b/test/test_helper.rb index 08f01e8e7..c19b809ec 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -28,6 +28,9 @@ module ActiveSupport include FactoryBot::Syntax::Methods include ActiveJob::TestHelper + # Run tests in parallel with specified workers + parallelize(:workers => :number_of_processors) + ## # takes a block which is executed in the context of a different # ActionController instance. this is used so that code can call methods