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

[CI] - test_integration_single.rb - fix curl msg regex (#3012)

This commit is contained in:
MSP-Greg 2022-11-04 15:32:48 -05:00 committed by GitHub
parent 70600bf261
commit f323d129bc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -112,7 +112,7 @@ class TestIntegrationSingle < TestIntegration
rejected_curl_wait_thread.join rejected_curl_wait_thread.join
assert_match(/Slept 10/, curl_stdout.read) assert_match(/Slept 10/, curl_stdout.read)
assert_match(/Connection refused/, rejected_curl_stderr.read) assert_match(/Connection refused|Couldn't connect to server/, rejected_curl_stderr.read)
Process.wait(@server.pid) Process.wait(@server.pid)
@server.close unless @server.closed? @server.close unless @server.closed?