test/test_integration.rb
# reuses an existing connection to make sure that works
reuses an existing connection to make sure that works
reuses an existing connection to make sure that works
def restart_server(server, connection)
    signal :USR2
    connection.write "GET / HTTP/1.1\r\n\r\n" 
    wait_for_server_to_boot(server)
  end
def restart_server ( server , connection ) signal :USR2 connection . write "GET / HTTP/1.1\r\n\r\n" wait_for_server_to_boot ( server ) end
reuses an existing connection to make sure that works
reuses an existing connection to make sure that works
# trigger it to start by sending a new request
server
<not_specific>
connection
<not_specific>