Browse Source

[stable only] Fix duplicated test case for nova::api

This patch is a partial backport of the fix in master[1], to fix
duplicated test case for tripleo::profile::base::nova::api class.

Conflicts:
	spec/classes/tripleo_profile_base_nova_api_spec.rb

[1] ebdbbfe8fd
Change-Id: Ibdb954c600ed52709faf37ee83a1f94e89d745dd
(cherry picked from commit 7e03324579)
changes/44/746244/2
Takashi Kajinami 4 months ago
parent
commit
392fbe8add
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      spec/classes/tripleo_profile_base_nova_api_spec.rb

+ 5
- 5
spec/classes/tripleo_profile_base_nova_api_spec.rb View File

@@ -64,20 +64,20 @@ eos
}
end

context 'with step 3 on bootstrap node' do
context 'with step 3 not on bootstrap node' do
let(:params) { {
:step => 3,
:bootstrap_node => 'node.example.com',
:bootstrap_node => 'other.example.com',
} }

it {
is_expected.to contain_class('tripleo::profile::base::nova::api')
is_expected.to contain_class('tripleo::profile::base::nova')
is_expected.to contain_class('nova::cell_v2::simple_setup')
is_expected.to_not contain_class('nova::cell_v2::simple_setup')
is_expected.to contain_class('nova::keystone::authtoken')
is_expected.to contain_class('nova::api')
is_expected.to_not contain_class('nova::api')
is_expected.to_not contain_class('nova::wsgi::apache_api')
is_expected.to contain_class('nova::network::neutron')
is_expected.to_not contain_class('nova::network::neutron')
}
end



Loading…
Cancel
Save