Skip to content

Commit

Permalink
test_puma_server_ssl.rb - backport fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MSP-Greg committed Feb 13, 2022
1 parent 9b8adbd commit 7362834
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_puma_server_ssl.rb
Expand Up @@ -94,7 +94,8 @@ def test_request_wont_block_thread
ctx = OpenSSL::SSL::SSLContext.new
ctx.verify_mode = OpenSSL::SSL::VERIFY_NONE
socket = OpenSSL::SSL::SSLSocket.new TCPSocket.new(@host, @port), ctx
socket.write "x"
socket.connect
socket.write "HEAD"
sleep 0.1

# Capture the amount of threads being used after connecting and being idle
Expand Down

0 comments on commit 7362834

Please sign in to comment.