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

test_integration_single.rb - minor fixes

test_term_not_accepts_new_connections - check correct pid, typo
This commit is contained in:
MSP-Greg 2020-05-15 12:00:42 -05:00
parent 91e57f4e17
commit 4297d794ff

View file

@ -70,7 +70,7 @@ class TestIntegrationSingle < TestIntegration
_stdin, _stdout, rejected_curl_stderr, rejected_curl_wait_thread = Open3.popen3("curl #{HOST}:#{@tcp_port}")
assert nil != Process.getpgid(@server.pid) # ensure server is still running
assert nil != Process.getpgid(rejected_curl_wait_thread[:pid]) # ensure first curl invokation still in progress
assert nil != Process.getpgid(curl_wait_thread[:pid]) # ensure first curl invocation still in progress
curl_wait_thread.join
rejected_curl_wait_thread.join