From 6bd6cbd2031e4dce3c81db3fc669dbc42978b225 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 27 Nov 2019 14:58:36 +0100 Subject: [PATCH] Enable parallel tests --- test/test_helper.rb | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.5