feat(distro): add centos-7 support
[arvados-formula.git] / test / integration / controller / controls / services_spec.rb
index abee521b33e122416abe9551f8355b7fea1887d1..785bdac9323ea6d88d5d7ed917fcdfcb06263e71 100644 (file)
@@ -4,12 +4,20 @@ control 'arvados controller service' do
   impact 0.5
   title 'should be running and enabled'
 
-  describe service('keep-web') do
+  describe service('arvados-controller') do
     it { should be_enabled }
     it { should be_running }
   end
-  describe port(9002) do
+  describe port(8003) do
+    proc = case os[:name]
+           when 'centos'
+             'arvados-contr'
+           when 'debian', 'ubuntu'
+             'arvados-control'
+           end
+
     it { should be_listening }
-    its('processes') { should include 'keep-web' }
+    # The undelying tools inspec uses to get the process truncates their names
+    its('processes') { should cmp proc }
   end
 end