Skip to content

Commit

Permalink
Change the specs after refreshing VCRs
Browse files Browse the repository at this point in the history
Change the specs after refreshing VCRs, also new storate data
combination was added to the VCR envs.
  • Loading branch information
Ladas committed Mar 17, 2017
1 parent d8bacb7 commit 1d90d4b
Showing 1 changed file with 7 additions and 2 deletions.
Expand Up @@ -39,8 +39,10 @@ def expected_table_counts
:availability_zone => 5,
:cloud_network => 5,
:cloud_subnet => 10,
:custom_attribute => 52,
:disk => 32,
:cloud_volume => 45,
:cloud_volume_snapshot => 21,
:custom_attribute => 50,
:disk => 34,
:ext_management_system => 4,
:firewall_rule => 155,
:flavor => 76,
Expand Down Expand Up @@ -70,6 +72,8 @@ def expected_table_counts
def assert_table_counts
actual = {
:auth_private_key => AuthPrivateKey.count,
:cloud_volume => CloudVolume.count,
:cloud_volume_snapshot => CloudVolumeSnapshot.count,
:ext_management_system => ExtManagementSystem.count,
:flavor => Flavor.count,
:availability_zone => AvailabilityZone.count,
Expand Down Expand Up @@ -388,6 +392,7 @@ def assert_specific_vm_powered_on
)

expect(v.hardware.disks.size).to eq(1) # TODO: Change to a flavor that has disks
expect(v.cloud_volumes.pluck(:name, :volume_type)).to match_array([["EmsRefreshSpec-PoweredOn-Basic3-root", "standard"]])
expect(v.hardware.guest_devices.size).to eq(0)
expect(v.hardware.nics.size).to eq(0)

Expand Down

0 comments on commit 1d90d4b

Please sign in to comment.