-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
worker_timeout, worker_boot_timeout, worker_shutdown_timeout fix integer convert #1450
Conversation
Fair enough. Needs a test. |
As I wrote a test case, I found that |
The test is quite clear. The build:
|
1295c36
to
b7f4c97
Compare
@olleolleolle thank you for review. |
The issue is a current misbehavior in RubyGems + Bundler - a Bundler comes prepackaged with RubyGems. It can turn out that your installed Current thing creating issues: The integration tests want to run the following shell command: def server(argv)
base = "#{Gem.ruby} -Ilib bin/puma"
base.prepend("bundle exec ") if defined?(Bundler)
cmd = "#{base} -b tcp://127.0.0.1:#{@tcp_port} #{argv}"
@server = IO.popen(cmd, "r")
wait_for_server_to_boot
@server
end this includes a I worked around this in some private code, today, by not shelling out to In that case, I did two things:
before_install:
- gem update --system
- gem install bundler
matrix:
include:
- rvm: 2.4.2
before_script:
- bundle exec rake db:create db:migrate
- bundle exec sequel postgresql://localhost/test_sessions -m migrations
- rvm: jruby-9.1.13.0
before_script:
- bundle exec rake db:create db:migrate
- bundle exec sequel jdbc:postgresql://localhost/test_sessions -m migrations Workarounds which include downgrading:
|
Oh, 2.7.4 was just released! Related: rubocop/rubocop@94174b1 |
de02dda
to
c6c7c65
Compare
c6c7c65
to
2e16719
Compare
@olleolleolle I tried modifying the build step several times and the build came to be successful but how about this? |
Really high quality PR, thanks very much for this. |
When passing a character string of seconds to worker_timeout etc.,
In order to prevent the occurrence of the following error, we convert it to an integer like other options.