Merge "Debian/Ubuntu: Validate inspector in acceptance test"
This commit is contained in:
commit
d62aaa3a53
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue