Rollback from trusty. Not adding anything at this point.
This commit is contained in:
parent
53eaee001d
commit
6c852d21dc
|
@ -1,14 +1,10 @@
|
|||
sudo: required
|
||||
dist: trusty
|
||||
language: ruby
|
||||
cache: bundler
|
||||
rvm:
|
||||
- jruby-1.7.25
|
||||
jdk:
|
||||
- oraclejdk8
|
||||
before_install:
|
||||
- export JRUBY_OPTS='--client -J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 -Xcext.enabled=false -J-Xss2m -Xcompile.invokedynamic=false'
|
||||
- gem install bundler
|
||||
before_script:
|
||||
- bundle exec rake vendor
|
||||
- bundle exec rake install_jars
|
||||
|
|
|
@ -3,7 +3,6 @@ require 'logstash/outputs/jdbc'
|
|||
require 'stud/temporary'
|
||||
require 'java'
|
||||
require 'securerandom'
|
||||
require 'mkmf'
|
||||
|
||||
RSpec.shared_context 'rspec setup' do
|
||||
it 'ensure jar is available' do
|
||||
|
@ -110,9 +109,10 @@ RSpec.shared_context 'when outputting messages' do
|
|||
|
||||
# Start a thread to stop and restart the service.
|
||||
t = Thread.new(systemd_database_service) { |systemd_database_service|
|
||||
start_stop_cmd = 'sudo /etc/init.d/%<service>s %<action>s'
|
||||
start_stop_cmd = 'sudo /etc/init.d/%<service>s* %<action>s'
|
||||
|
||||
if find_executable('systemctl')
|
||||
`which systemctl`
|
||||
if $?.success?
|
||||
start_stop_cmd = 'sudo systemctl %<action>s %<service>s'
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user