X-Git-Url: https://git.arvados.org/arvados-formula.git/blobdiff_plain/86ea398742e99ab5942705b342b0f0ac7bdef41d..ba5e37ebc18049d4340388fc0c19dcb2a78d6a86:/test/integration/api/controls/services_spec.rb diff --git a/test/integration/api/controls/services_spec.rb b/test/integration/api/controls/services_spec.rb index 26d004c..83b23eb 100644 --- a/test/integration/api/controls/services_spec.rb +++ b/test/integration/api/controls/services_spec.rb @@ -10,7 +10,16 @@ control 'arvados api service' do end describe port(8004) do + proc = case os[:name] + when 'centos' + # Centos ps adds an extra colon and the end of the process + # probably a bug + 'nginx:' + when 'debian', 'ubuntu' + 'nginx' + end + it { should be_listening } - its('processes') { should include 'nginx' } + its('processes') { should cmp proc } end end