Skip to content

Commit

Permalink
Fix failed tests for "rake test:integration". (#1390)
Browse files Browse the repository at this point in the history
  • Loading branch information
junaruga authored and nateberkopec committed Aug 16, 2017
1 parent 379c159 commit 344e962
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/shell/t1.rb
@@ -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/"

Expand Down
2 changes: 1 addition & 1 deletion test/shell/t2_conf.rb
Expand Up @@ -2,5 +2,5 @@
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
2 changes: 1 addition & 1 deletion test/shell/t3.rb
@@ -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"
Expand Down

0 comments on commit 344e962

Please sign in to comment.