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
/
controller
/
controls
/
services_spec.rb
diff --git
a/test/integration/controller/controls/services_spec.rb
b/test/integration/controller/controls/services_spec.rb
index 3b24532ec5821274e2cc44367a904825faf85002..785bdac9323ea6d88d5d7ed917fcdfcb06263e71 100644
(file)
--- 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
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
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
end
end