rename the filter to condition_parameter_test
authoradrianiurca <adrian.iurca@gmail.com>
Fri, 4 Dec 2020 13:34:38 +0000 (15:34 +0200)
committeradrianiurca <adrian.iurca@gmail.com>
Fri, 4 Dec 2020 13:34:38 +0000 (15:34 +0200)
spec/acceptance/firewall_attributes_exceptions_spec.rb
spec/spec_helper_acceptance_local.rb

index 26ba273793e9462ed29bd6bb56bff6caf81b5099..21457fd27d30d3d9eaf75b6f98986a255ae41084 100644 (file)
@@ -1370,7 +1370,7 @@ describe 'firewall basics', docker: true do
     end
   end
 
-  describe 'condition', ubuntu_vmpooler: false do
+  describe 'condition', condition_parameter_test: false do
     context 'is set' do
       pp = <<-PUPPETCODE
         if $facts['os']['name'] == 'Ubuntu' and versioncmp($facts['os']['release']['full'], '14.04') > 0 {
index f34e628bf5240f7b18e542a2ab68e419389c08c1..c5ec3bcb14e9d80089d6fcb15d52db7b1fd668e8 100644 (file)
@@ -44,9 +44,10 @@ def update_profile_file
 end
 
 RSpec.configure do |c|
-  # This flag is disabling some tests on docker/vagrant containers
+  # This flag is disabling test 'condition' from firewall_attributes_exceptions
+  # because this test is failing on docker containers, but it's compatible with vmpooler machines
   # To enable tests on abs/vmpooler machines just set to `true` this flag
-  c.filter_run_excluding ubuntu_vmpooler: false
+  c.filter_run_excluding condition_parameter_test: false
   c.before :suite do
     if os[:family] == 'debian' && os[:release].to_i == 10
       pp = <<-PUPPETCODE