1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

test_integration_cluster.rb - fix get_worker_pids call

test_worker_index_is_with_in_options_limit uses 3 workers, but get_worker_pids defaults to 2
This commit is contained in:
MSP-Greg 2020-10-02 19:49:45 -05:00
parent 80274413b0
commit b17579010a
No known key found for this signature in database
GPG key ID: D688DA4A77D8FA18

View file

@ -160,7 +160,7 @@ RUBY
cli_server "-C test/config/t3_conf.rb test/rackup/hello.ru"
get_worker_pids # this will wait till all the processes are up
get_worker_pids(0, 3) # this will wait till all the processes are up
worker_pid_was_present = File.file? "t3-worker-2-pid"