Replace integration job by litmus job
qpid dispatch router is no longer tested in integration tests, because the amqp1 driver has been deprecated. This replaces the integration tests by litmus tests so that we can keep testing basic deployment functionality. Depneds-on: https://review.opendev.org/891326 Change-Id: I3e231fa5a8ec626b0929bc2564a82aad954659b1
This commit is contained in:
parent
dd05b021d9
commit
93637c83d3
|
@ -2,5 +2,5 @@
|
|||
templates:
|
||||
- puppet-openstack-check-jobs
|
||||
- puppet-openstack-module-unit-jobs
|
||||
- puppet-openstack-integration-jobs-scenario001
|
||||
- puppet-openstack-litmus-jobs
|
||||
- release-notes-jobs-python3
|
||||
|
|
|
@ -0,0 +1,36 @@
|
|||
require 'spec_helper_acceptance'
|
||||
|
||||
describe 'basic qdr' do
|
||||
|
||||
context 'default parameters' do
|
||||
|
||||
it 'should work with no errors' do
|
||||
pp= <<-EOS
|
||||
include openstack_integration
|
||||
include openstack_integration::repos
|
||||
|
||||
# NOTE(tkajinam): qpid dispatch router is not available for Ubuntu Jammy
|
||||
if $facts['os']['family'] == 'RedHat' {
|
||||
class { 'qdr':
|
||||
listener_addr => $::openstack_integration::config::host,
|
||||
listener_port => $::openstack_integration::config::messaging_default_port,
|
||||
listener_sasl_mech => 'PLAIN',
|
||||
listener_auth_peer => true,
|
||||
router_worker_threads => 2,
|
||||
}
|
||||
|
||||
qdr_user { 'testuser':
|
||||
password => 'secret',
|
||||
provider => 'sasl',
|
||||
require => Class['qdr'],
|
||||
}
|
||||
}
|
||||
EOS
|
||||
|
||||
|
||||
# Run it twice and test for idempotency
|
||||
apply_manifest(pp, :catch_failures => true)
|
||||
apply_manifest(pp, :catch_changes => true)
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue