mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 22:57:16 -04:00
Some other minor changes include: * add back the user level boostrap scripts, useful in that case to pull latest released LS * cleanup formatting for specs and fixed bootstrap scripts for redhats * make the latest logstash version available from the current platform config file * make sure debian based machines use java8 * make sure to use hostname and not just ip:port address when reporting the names Fixes #5350
16 lines
328 B
Ruby
16 lines
328 B
Ruby
require_relative '../spec_helper'
|
|
require 'logstash/version'
|
|
|
|
RSpec.shared_examples "runnable" do |logstash|
|
|
|
|
before(:each) do
|
|
logstash.install(LOGSTASH_VERSION)
|
|
end
|
|
|
|
it "is running on #{logstash.hostname}" do
|
|
logstash.start_service
|
|
expect(logstash).to be_running
|
|
logstash.stop_service
|
|
end
|
|
|
|
end
|