Skip to content

Commit

Permalink
Update CPU resource pool test in refresher spec
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcarman committed Oct 25, 2023
1 parent df41451 commit abe0ab7
Showing 1 changed file with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -337,13 +337,16 @@ def assert_specific_template
def assert_specific_resource_pool_cpu
cpu_pool = ems.resource_pools.find_by(:ems_ref => respool_cpu_uuid)
expect(cpu_pool).to have_attributes(
:type => "ManageIQ::Providers::IbmPowerHmc::InfraManager::ProcessorResourcePool",
:name => "sloane",
:cpu_shares => 0,
:cpu_reserve => 2,
:cpu_limit => 2,
:cpu_reserve_expand => true,
:is_default => false
:type => "ManageIQ::Providers::IbmPowerHmc::InfraManager::ProcessorResourcePool",
:name => "sloane",
:cpu_shares => nil,
:cpu_reserve => nil,
:cpu_limit => nil,
:cpu_reserve_expand => true,
:is_default => false,
:cpu_cores_available => 2.0,
:cpu_cores_reserve => 0,
:cpu_cores_limit => 2.0
)
end

Expand Down

0 comments on commit abe0ab7

Please sign in to comment.