mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Fix getting worker pids in test
This commit is contained in:
parent
ba2ffbc9a8
commit
267ff48f62
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ class TestIntegration < Minitest::Test
|
|||
# gets worker pids from @server output
|
||||
def get_worker_pids(phase = 0, size = workers)
|
||||
pids = []
|
||||
re = /pid: (\d+)\) booted, phase: #{phase}/
|
||||
re = /PID: (\d+)\) booted, phase: #{phase}/
|
||||
while pids.size < size
|
||||
if pid = @server.gets[re, 1]
|
||||
pids << pid
|
||||
|
|
Loading…
Add table
Reference in a new issue