Test Magnum API with WSGI
Changes the acceptance testing to run the Magnum API under WSGI with Apache. Change-Id: I09826f6fbc68dc55f9274d7ad1ba54f069d42143
This commit is contained in:
parent
e16f87c6ac
commit
8663888d38
@ -64,12 +64,13 @@ describe 'basic magnum' do
|
||||
notification_driver => 'messagingv2',
|
||||
}
|
||||
|
||||
class { '::magnum::api':
|
||||
host => '127.0.0.1',
|
||||
class { '::magnum::api':
|
||||
service_name => 'httpd',
|
||||
}
|
||||
include ::apache
|
||||
include ::magnum::wsgi::apache
|
||||
|
||||
class { '::magnum::conductor': }
|
||||
|
||||
class { '::magnum::client': }
|
||||
|
||||
class { '::magnum::certificates':
|
||||
@ -84,7 +85,7 @@ describe 'basic magnum' do
|
||||
end
|
||||
|
||||
describe port(9511) do
|
||||
it { is_expected.to be_listening.with('tcp') }
|
||||
it { is_expected.to be_listening.with('tcp6') }
|
||||
end
|
||||
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user