Enhancement: Increase number of Capybara puma threads from 4 to 16 to make tests more stable by handling more parallel requests.

This commit is contained in:
Thorsten Eckel 2020-05-28 09:43:37 +02:00
parent 8a20892a8d
commit a7ee192c9d

View file

@ -4,7 +4,7 @@ RSpec.configure do |config|
config.before(:each, type: :system) do
# start a silenced Puma as application server
Capybara.server = :puma, { Silent: true, Host: '0.0.0.0' }
Capybara.server = :puma, { Silent: true, Host: '0.0.0.0', Threads: '0:16' }
# set the Host from gather container IP for CI runs
if ENV['CI'].present?