Skip to content

Commit 6010cc3

Browse files
committed
fix(test): add tests on prometheus-node-exporter
1 parent 4e8c69f commit 6010cc3

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# frozen_string_literal: true
2+
3+
control 'prometheus services' do
4+
title 'should be running'
5+
6+
describe service('prometheus-node-exporter') do
7+
it { should be_enabled }
8+
it { should be_running }
9+
end
10+
11+
# prometheus-node-exporter port
12+
describe port(9100) do
13+
it { should be_listening }
14+
end
15+
end

0 commit comments

Comments
 (0)