Skip to content

Commit

Permalink
test_integration_cluster.rb - fix get_worker_pids call
Browse files Browse the repository at this point in the history
test_worker_index_is_with_in_options_limit uses 3 workers, but get_worker_pids defaults to 2
  • Loading branch information
MSP-Greg committed Oct 3, 2020
1 parent 8027441 commit b175790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_integration_cluster.rb
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def test_worker_index_is_with_in_options_limit

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"

Expand Down

0 comments on commit b175790

Please sign in to comment.