From f296b2ac7ecee0f0e68632fe8309498e40f05873 Mon Sep 17 00:00:00 2001 From: adrianiurca Date: Fri, 4 Dec 2020 15:34:38 +0200 Subject: [PATCH] rename the filter to condition_parameter_test --- spec/acceptance/firewall_attributes_exceptions_spec.rb | 2 +- spec/spec_helper_acceptance_local.rb | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/spec/acceptance/firewall_attributes_exceptions_spec.rb b/spec/acceptance/firewall_attributes_exceptions_spec.rb index 26ba273..21457fd 100644 --- a/spec/acceptance/firewall_attributes_exceptions_spec.rb +++ b/spec/acceptance/firewall_attributes_exceptions_spec.rb @@ -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 { diff --git a/spec/spec_helper_acceptance_local.rb b/spec/spec_helper_acceptance_local.rb index f34e628..c5ec3bc 100644 --- a/spec/spec_helper_acceptance_local.rb +++ b/spec/spec_helper_acceptance_local.rb @@ -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 -- 2.45.2