From: Tom Hughes Date: Wed, 9 Sep 2020 19:35:56 +0000 (+0100) Subject: Update kitchen tests for changes to frontend and backend services X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/a0991185ab94cc58dfa40c724410dfd549648d91?hp=860431223d5e1ada6bc6549c2cfa30dea4d23182 Update kitchen tests for changes to frontend and backend services --- diff --git a/test/integration/web-backend/serverspec/rails_spec.rb b/test/integration/web-backend/serverspec/rails_spec.rb index 478549a6e..d02a65898 100644 --- a/test/integration/web-backend/serverspec/rails_spec.rb +++ b/test/integration/web-backend/serverspec/rails_spec.rb @@ -7,8 +7,3 @@ describe service("api-statistics") do it { should be_enabled } it { should be_running } end - -describe service("rails-jobs@storage") do - it { should be_enabled } - it { should be_running } -end diff --git a/test/integration/web-frontend/serverspec/cgimap_spec.rb b/test/integration/web-frontend/serverspec/cgimap_spec.rb new file mode 100644 index 000000000..d91e14576 --- /dev/null +++ b/test/integration/web-frontend/serverspec/cgimap_spec.rb @@ -0,0 +1,13 @@ +require "serverspec" + +# Required by serverspec +set :backend, :exec + +describe service("cgimap") do + it { should be_enabled } + it { should be_running } +end + +describe port(8000) do + it { should be_listening.with("tcp") } +end diff --git a/test/integration/web-frontend/serverspec/rails_spec.rb b/test/integration/web-frontend/serverspec/rails_spec.rb index 3c4c194cd..1abe820b6 100644 --- a/test/integration/web-frontend/serverspec/rails_spec.rb +++ b/test/integration/web-frontend/serverspec/rails_spec.rb @@ -12,3 +12,8 @@ describe service("rails-jobs@mailers") do it { should be_enabled } it { should be_running } end + +describe service("rails-jobs@storage") do + it { should be_enabled } + it { should be_running } +end