Merge "Debian/Ubuntu: Validate inspector in acceptance test"

This commit is contained in:
Zuul 2022-08-01 10:40:58 +00:00 committed by Gerrit Code Review
commit d62aaa3a53
1 changed files with 7 additions and 14 deletions

View File

@ -21,20 +21,13 @@ describe 'basic ironic' do
apply_manifest(pp, :catch_changes => true) apply_manifest(pp, :catch_changes => true)
end end
if os[:family].casecmp('RedHat') == 0 # Ironic API port
# Ironic API port describe port(6385) do
describe port(6385) do it { is_expected.to be_listening }
it { is_expected.to be_listening } end
end # Inspector API port
# Inspector API port describe port(5050) do
describe port(5050) do it { is_expected.to be_listening.with('tcp') }
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
end end
end end