Sha256: 09dd814a921da85c50fd53054f2a3894e6642d387767d80def926a3b6cf2185e

Contents?: true

Size: 680 Bytes

Versions: 30

Compression:

Stored size: 680 Bytes

Contents

Shindo.tests("Fog::Compute::HPV2 | volume attachments collection", ['hp', 'v2', 'compute']) do

  service = Fog::Compute.new(:provider => 'HP', :version => :v2)

  @base_image_id = ENV['BASE_IMAGE_ID'] || '7f60b54c-cd15-433f-8bed-00acbcd25a17'

  @server = service.servers.create(:name => 'fogserverattachtest', :flavor_id => 100, :image_id => @base_image_id)
  @server.wait_for { ready? }
  @volume = HP[:block_storage_v2].volumes.create(:name => 'fogvolumetest', :size => 1)
  @volume.wait_for { ready? }

  collection_tests(@server.volume_attachments, {:server_id => @server.id, :volume_id => @volume.id, :device => '/dev/sdf'}, true)

  @volume.destroy
  @server.destroy

end

Version data entries

30 entries across 30 versions & 4 rubygems

Version Path
fog-1.38.0 tests/hp/models/compute_v2/volume_attachments_tests.rb
fog-1.37.0 tests/hp/models/compute_v2/volume_attachments_tests.rb
fog-1.36.0 tests/hp/models/compute_v2/volume_attachments_tests.rb
fog-1.35.0 tests/hp/models/compute_v2/volume_attachments_tests.rb
fog-2.0.0.pre.0 tests/hp/models/compute_v2/volume_attachments_tests.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-1.32.0/tests/hp/models/compute_v2/volume_attachments_tests.rb
fog-1.34.0 tests/hp/models/compute_v2/volume_attachments_tests.rb
fog-1.33.0 tests/hp/models/compute_v2/volume_attachments_tests.rb
fog-1.32.0 tests/hp/models/compute_v2/volume_attachments_tests.rb
fog-1.31.0 tests/hp/models/compute_v2/volume_attachments_tests.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/tests/hp/models/compute_v2/volume_attachments_tests.rb
fog-1.30.0 tests/hp/models/compute_v2/volume_attachments_tests.rb
fog-1.29.0 tests/hp/models/compute_v2/volume_attachments_tests.rb
fog-1.28.0 tests/hp/models/compute_v2/volume_attachments_tests.rb
fog-1.27.0 tests/hp/models/compute_v2/volume_attachments_tests.rb
fog-1.26.0 tests/hp/models/compute_v2/volume_attachments_tests.rb
fog-1.25.0 tests/hp/models/compute_v2/volume_attachments_tests.rb
nsidc-fog-1.24.1 tests/hp/models/compute_v2/volume_attachments_tests.rb
fog-1.24.0 tests/hp/models/compute_v2/volume_attachments_tests.rb
ns-fog-1.22.11 tests/hp/models/compute_v2/volume_attachments_tests.rb