X-Git-Url: https://git.arvados.org/arvados-formula.git/blobdiff_plain/86ea398742e99ab5942705b342b0f0ac7bdef41d..ba5e37ebc18049d4340388fc0c19dcb2a78d6a86:/test/integration/controller/controls/services_spec.rb diff --git a/test/integration/controller/controls/services_spec.rb b/test/integration/controller/controls/services_spec.rb index 3b24532..785bdac 100644 --- a/test/integration/controller/controls/services_spec.rb +++ b/test/integration/controller/controls/services_spec.rb @@ -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