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:
parent
8a20892a8d
commit
a7ee192c9d
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ RSpec.configure do |config|
|
||||||
config.before(:each, type: :system) do
|
config.before(:each, type: :system) do
|
||||||
|
|
||||||
# start a silenced Puma as application server
|
# 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
|
# set the Host from gather container IP for CI runs
|
||||||
if ENV['CI'].present?
|
if ENV['CI'].present?
|
||||||
|
|
Loading…
Reference in a new issue