fix(test): add tests on prometheus-node-exporter
This commit is contained in:
parent
4e8c69f72b
commit
6010cc32b8
15
test/integration/repo/controls/service_spec.rb
Normal file
15
test/integration/repo/controls/service_spec.rb
Normal file
@ -0,0 +1,15 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
control 'prometheus services' do
|
||||
title 'should be running'
|
||||
|
||||
describe service('prometheus-node-exporter') do
|
||||
it { should be_enabled }
|
||||
it { should be_running }
|
||||
end
|
||||
|
||||
# prometheus-node-exporter port
|
||||
describe port(9100) do
|
||||
it { should be_listening }
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue
Block a user