Support running tests in parallel (#1667)

To allow for faster execution of the unit tests locally, allow running
them in parallel.
This commit is contained in:
Darragh Bailey
2022-11-08 16:28:32 +00:00
committed by GitHub
parent 1c7e9d8bd0
commit 4fe53477b2
40 changed files with 58 additions and 45 deletions

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
require 'spec_helper'
require_relative '../../spec_helper'
require 'vagrant-libvirt/action/clean_machine_folder'

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
require 'spec_helper'
require_relative '../../spec_helper'
require 'vagrant/action/runner'

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
require 'spec_helper'
require_relative '../../spec_helper'
require 'fog/libvirt/models/compute/volume'

View File

@@ -1,10 +1,10 @@
# frozen_string_literal: true
require 'spec_helper'
require_relative '../../spec_helper'
require 'fog/libvirt/models/compute/volume'
require 'vagrant-libvirt/action/destroy_domain'
require 'vagrant-libvirt/action/create_domain_volume'
require 'vagrant-libvirt/util/byte_number'

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
require 'spec_helper'
require_relative '../../spec_helper'
require 'vagrant-libvirt/action/destroy_domain'

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
require 'spec_helper'
require_relative '../../spec_helper'
require 'vagrant-libvirt/errors'
require 'vagrant-libvirt/action/forward_ports'

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
require 'spec_helper'
require_relative '../../spec_helper'
require 'vagrant-libvirt/action/halt_domain'

View File

@@ -1,9 +1,10 @@
# frozen_string_literal: true
require 'spec_helper'
require_relative '../../spec_helper'
require 'json'
require 'vagrant-libvirt/action/destroy_domain'
require 'vagrant-libvirt/action/handle_box_image'
require 'vagrant-libvirt/util/byte_number'

View File

@@ -1,8 +1,8 @@
# frozen_string_literal: true
require 'spec_helper'
require_relative '../../spec_helper'
require 'vagrant-libvirt/action/clean_machine_folder'
require 'vagrant-libvirt/action/package_domain'
describe VagrantPlugins::ProviderLibvirt::Action::PackageDomain do
subject { described_class.new(app, env) }

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
require 'spec_helper'
require_relative '../../spec_helper'
require 'vagrant-libvirt/action/prepare_nfs_settings'

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
require 'spec_helper'
require_relative '../../spec_helper'
require 'vagrant-libvirt/action/remove_libvirt_image'

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
require 'spec_helper'
require_relative '../../spec_helper'
require 'fog/libvirt/models/compute/volume'

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
require 'spec_helper'
require_relative '../../spec_helper'
require 'vagrant-libvirt/action/set_boot_order'

View File

@@ -1,6 +1,8 @@
# frozen_string_literal: true
require 'spec_helper'
require_relative '../../spec_helper'
require 'vagrant-libvirt/action/set_name_of_domain'
describe VagrantPlugins::ProviderLibvirt::Action::SetNameOfDomain do
before :each do

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
require 'spec_helper'
require_relative '../../spec_helper'
require 'vagrant-libvirt/action/shutdown_domain'

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
require 'spec_helper'
require_relative '../../spec_helper'
require 'vagrant-libvirt/errors'
require 'vagrant-libvirt/action/start_domain'

View File

@@ -1,6 +1,6 @@
# frozen_string_literal: true
require 'spec_helper'
require_relative '../../spec_helper'
require 'vagrant-libvirt/action/wait_till_up'
require 'vagrant-libvirt/errors'