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

Fix failed tests for "rake test:integration". (#1390)

This commit is contained in:
Jun Aruga 2017-08-16 16:26:07 +02:00 committed by Nate Berkopec
parent 379c159a86
commit 344e9626f9
3 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
system "ruby -rubygems -I../../lib ../../bin/puma -p 10102 -C t1_conf.rb ../hello.ru &"
system "ruby -rubygems -I../../lib ../../bin/puma -p 10102 -C t1_conf.rb ../rackup/hello.ru &"
sleep 5
system "curl http://localhost:10102/"

View file

@ -2,5 +2,5 @@ log_requests
stdout_redirect "t2-stdout"
pidfile "t2-pid"
bind "tcp://0.0.0.0:10103"
rackup File.expand_path('../hello.ru', File.dirname(__FILE__))
rackup File.expand_path('../rackup/hello.ru', File.dirname(__FILE__))
daemonize

View file

@ -1,4 +1,4 @@
system "ruby -rubygems -I../../lib ../../bin/puma -p 10102 -C t3_conf.rb ../hello.ru &"
system "ruby -rubygems -I../../lib ../../bin/puma -p 10102 -C t3_conf.rb ../rackup/hello.ru &"
sleep 5
worker_pid_was_present = File.file? "t3-worker-2-pid"