fix(test): checking if the bigquery component is NOT running
This commit is contained in:
parent
ada3aa3f06
commit
1b7a5b04c0
@ -11,7 +11,6 @@ control 'services with a consistent service name on each distro' do
|
|||||||
prometheus-alertmanager
|
prometheus-alertmanager
|
||||||
prometheus-node-exporter
|
prometheus-node-exporter
|
||||||
prometheus-blackbox-exporter
|
prometheus-blackbox-exporter
|
||||||
prometheus-bigquery-backend
|
|
||||||
]
|
]
|
||||||
else
|
else
|
||||||
%w[
|
%w[
|
||||||
@ -19,7 +18,6 @@ control 'services with a consistent service name on each distro' do
|
|||||||
alertmanager
|
alertmanager
|
||||||
node_exporter
|
node_exporter
|
||||||
blackbox_exporter
|
blackbox_exporter
|
||||||
prometheus-bigquery-backend
|
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -53,3 +51,11 @@ control 'services with any service name we want to give them' do
|
|||||||
it { should be_listening }
|
it { should be_listening }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
control 'services that should be enabled but not running' do
|
||||||
|
title 'should be enabled'
|
||||||
|
describe service('prometheus-bigquery-backend') do
|
||||||
|
it { should be_enabled }
|
||||||
|
it { should_not be_running }
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user