]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
tests: create as many drives for virtualbox as libvirt
authorAndrew Schoen <aschoen@redhat.com>
Thu, 10 Jan 2019 19:06:17 +0000 (13:06 -0600)
committerSébastien Han <seb@redhat.com>
Fri, 1 Feb 2019 11:28:12 +0000 (12:28 +0100)
This just ensures that virtualbox and libvirt are making
the same amount of devices for tests.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
Vagrantfile

index 339b577d36d5cae5b9fd2872b28cf2e636c03a07..0079cba5e206c5e27d52bf56addb79d184da57e8 100644 (file)
@@ -477,7 +477,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
                         '--add', 'scsi']
         end
 
-        (0..1).each do |d|
+        (0..2).each do |d|
           vb.customize ['createhd',
                         '--filename', "disk-#{i}-#{d}",
                         '--size', '11000'] unless File.exist?("disk-#{i}-#{d}.vdi")