Debian/Ubuntu: Validate inspector in acceptance test
... because now the service is enabled. Depends-on: https://review.opendev.org/848512/ Change-Id: I41caaa22dd0f7879acac757bf695935714318fa3
This commit is contained in:
parent
dccea77ddd
commit
dc470d8237
|
@ -21,20 +21,13 @@ describe 'basic ironic' do
|
|||
apply_manifest(pp, :catch_changes => true)
|
||||
end
|
||||
|
||||
if os[:family].casecmp('RedHat') == 0
|
||||
# Ironic API port
|
||||
describe port(6385) do
|
||||
it { is_expected.to be_listening }
|
||||
end
|
||||
# Inspector API port
|
||||
describe port(5050) do
|
||||
it { is_expected.to be_listening.with('tcp') }
|
||||
end
|
||||
else # Inspector is not packaged, so only test Ironic
|
||||
# Ironic API port
|
||||
describe port(6385) do
|
||||
it { is_expected.to be_listening }
|
||||
end
|
||||
# Ironic API port
|
||||
describe port(6385) do
|
||||
it { is_expected.to be_listening }
|
||||
end
|
||||
# Inspector API port
|
||||
describe port(5050) do
|
||||
it { is_expected.to be_listening.with('tcp') }
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue