puppet-zaqar/spec/acceptance/zaqar_swift_spec.rb
Takashi Kajinami be98a1755e Use common class to manage apache service in beaker job
Depends-on: https://review.opendev.org/#/c/745246/
Change-Id: I5e7d439059f515adfb678e5786d2f078356ffb6f
2020-08-07 09:46:32 +09:00

32 lines
768 B
Ruby

require 'spec_helper_acceptance'
describe 'swift zaqar' do
context 'default parameters' do
it 'zaqar with swift should work with no errors' do
pp= <<-EOS
include openstack_integration
include openstack_integration::repos
include openstack_integration::apache
include openstack_integration::mysql
include openstack_integration::keystone
include openstack_integration::swift
include openstack_integration::memcached
include openstack_integration::zaqar
EOS
# Run it twice and test for idempotency
apply_manifest(pp, :catch_failures => true)
apply_manifest(pp, :catch_changes => true)
end
describe port(8888) do
it { is_expected.to be_listening }
end
end
end