18663: add keep-balance app management
[arvados-formula.git] / test / integration / keepbalance / controls / services_spec.rb
diff --git a/test/integration/keepbalance/controls/services_spec.rb b/test/integration/keepbalance/controls/services_spec.rb
new file mode 100644 (file)
index 0000000..fe157e2
--- /dev/null
@@ -0,0 +1,15 @@
+# frozen_string_literal: true
+
+control 'arvados keepbalance service' do
+  impact 0.5
+  title 'should be running and enabled'
+
+  describe service('keep-balance') do
+    it { should be_enabled }
+    it { should be_running }
+  end
+  describe port(9_005) do
+    it { should be_listening }
+    its('processes') { should cmp 'keep-balance' }
+  end
+end