Browse Source

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

Thorsten Eckel 4 years ago
parent
commit
a7ee192c9d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      spec/support/capybara/driven_by.rb

+ 1 - 1
spec/support/capybara/driven_by.rb

@@ -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?