From f725652ce0810cbcf47249575298c9a6a340c36b Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Wed, 9 Sep 2020 20:38:40 +0100 Subject: [PATCH] Check that memcached is running on the frontends --- .../web-frontend/serverspec/memcached_spec.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 test/integration/web-frontend/serverspec/memcached_spec.rb diff --git a/test/integration/web-frontend/serverspec/memcached_spec.rb b/test/integration/web-frontend/serverspec/memcached_spec.rb new file mode 100644 index 000000000..26eccec79 --- /dev/null +++ b/test/integration/web-frontend/serverspec/memcached_spec.rb @@ -0,0 +1,17 @@ +require "serverspec" + +# Required by serverspec +set :backend, :exec + +describe package("memcached") do + it { should be_installed } +end + +describe service("memcached") do + it { should be_enabled } + it { should be_running } +end + +describe port(11211) do + it { should be_listening.with("tcp") } +end -- 2.39.5