test(services_spec): remove temporary suse conditional
* `train` gem has been fixed upstream - https://github.com/inspec/train/pull/451 - https://rubygems.org/gems/train/versions/2.1.7
This commit is contained in:
@@ -7,11 +7,6 @@ elsif os[:family] == 'debian' or os[:name] == 'suse'
|
|||||||
pg_port = 5433
|
pg_port = 5433
|
||||||
end
|
end
|
||||||
|
|
||||||
# Temporary `if` due to `opensuse-leap-15` bug re: `service`
|
|
||||||
if os[:name] == 'suse'
|
|
||||||
puts "[Skip `service`-based tests due to `opensuse-leap-15` detection bug (see https://github.com/inspec/train/issues/377)]"
|
|
||||||
puts "[Skip `service`-based tests due to `opensuse-leap-15` bug]"
|
|
||||||
else
|
|
||||||
control 'Postgres service' do
|
control 'Postgres service' do
|
||||||
impact 0.5
|
impact 0.5
|
||||||
title 'should be running and enabled'
|
title 'should be running and enabled'
|
||||||
@@ -25,4 +20,3 @@ control 'Postgres service' do
|
|||||||
it { should be_listening }
|
it { should be_listening }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|||||||
Reference in New Issue
Block a user