projects
/
arvados-formula.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feat(distro): add centos-7 support
[arvados-formula.git]
/
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 26d004ccf000a6c1ecb8fc4c011a8e1baef093f5..83b23eb6d70e81ac8c37f8d566bdcf5fd9433cec 100644
(file)
--- 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
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 }
it { should be_listening }
- its('processes') { should
include 'nginx'
}
+ its('processes') { should
cmp proc
}
end
end
end
end