feat(distro): add centos-7 support
[arvados-formula.git] / test / integration / controller / controls / services_spec.rb
index 3b24532ec5821274e2cc44367a904825faf85002..785bdac9323ea6d88d5d7ed917fcdfcb06263e71 100644 (file)
@@ -9,8 +9,15 @@ control 'arvados controller service' do
     it { should be_running }
   end
   describe port(8003) do
+    proc = case os[:name]
+           when 'centos'
+             'arvados-contr'
+           when 'debian', 'ubuntu'
+             'arvados-control'
+           end
+
     it { should be_listening }
     # The undelying tools inspec uses to get the process truncates their names
-    its('processes') { should include 'arvados-control' }
+    its('processes') { should cmp proc }
   end
 end