Skip to content

Commit

Permalink
Revert "Try to skip yum::plugin::post_transaction_actions tests only …
Browse files Browse the repository at this point in the history
…in Oracle 7"

This reverts commit 5553062.
  • Loading branch information
EmersonPrado committed Apr 3, 2024
1 parent 5553062 commit 023df41
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions spec/acceptance/post_transaction_actions_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
end

# Using puppet_apply as a helper
it 'must work idempotently with no errors',
unless: facts['os']['name'] == 'OracleLinux' && facts['os']['release']['major'] == '7' do
it 'must work idempotently with no errors' do

Check failure on line 17 in spec/acceptance/post_transaction_actions_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Rocky 8

yum::post_transaction_action define simple parameters must work idempotently with no errors Expected pending 'must first enable ol7_optional_latest repo in OracleLinux 7' to fail. No error was raised.

Check failure on line 17 in spec/acceptance/post_transaction_actions_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Rocky 8

yum::post_transaction_action define simple parameters must work idempotently with no errors Expected pending 'must first enable ol7_optional_latest repo in OracleLinux 7' to fail. No error was raised.

Check failure on line 17 in spec/acceptance/post_transaction_actions_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 7

yum::post_transaction_action define simple parameters must work idempotently with no errors Expected pending 'must first enable ol7_optional_latest repo in OracleLinux 7' to fail. No error was raised.

Check failure on line 17 in spec/acceptance/post_transaction_actions_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 7

yum::post_transaction_action define simple parameters must work idempotently with no errors Expected pending 'must first enable ol7_optional_latest repo in OracleLinux 7' to fail. No error was raised.

Check failure on line 17 in spec/acceptance/post_transaction_actions_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 8

yum::post_transaction_action define simple parameters must work idempotently with no errors Expected pending 'must first enable ol7_optional_latest repo in OracleLinux 7' to fail. No error was raised.

Check failure on line 17 in spec/acceptance/post_transaction_actions_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 8

yum::post_transaction_action define simple parameters must work idempotently with no errors Expected pending 'must first enable ol7_optional_latest repo in OracleLinux 7' to fail. No error was raised.

Check failure on line 17 in spec/acceptance/post_transaction_actions_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 9

yum::post_transaction_action define simple parameters must work idempotently with no errors Expected pending 'must first enable ol7_optional_latest repo in OracleLinux 7' to fail. No error was raised.

Check failure on line 17 in spec/acceptance/post_transaction_actions_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 9

yum::post_transaction_action define simple parameters must work idempotently with no errors Expected pending 'must first enable ol7_optional_latest repo in OracleLinux 7' to fail. No error was raised.

Check failure on line 17 in spec/acceptance/post_transaction_actions_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - OracleLinux 8

yum::post_transaction_action define simple parameters must work idempotently with no errors Expected pending 'must first enable ol7_optional_latest repo in OracleLinux 7' to fail. No error was raised.

Check failure on line 17 in spec/acceptance/post_transaction_actions_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - OracleLinux 8

yum::post_transaction_action define simple parameters must work idempotently with no errors Expected pending 'must first enable ol7_optional_latest repo in OracleLinux 7' to fail. No error was raised.

Check failure on line 17 in spec/acceptance/post_transaction_actions_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 8

yum::post_transaction_action define simple parameters must work idempotently with no errors Expected pending 'must first enable ol7_optional_latest repo in OracleLinux 7' to fail. No error was raised.

Check failure on line 17 in spec/acceptance/post_transaction_actions_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 8

yum::post_transaction_action define simple parameters must work idempotently with no errors Expected pending 'must first enable ol7_optional_latest repo in OracleLinux 7' to fail. No error was raised.

Check failure on line 17 in spec/acceptance/post_transaction_actions_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - AlmaLinux 9

yum::post_transaction_action define simple parameters must work idempotently with no errors Expected pending 'must first enable ol7_optional_latest repo in OracleLinux 7' to fail. No error was raised.

Check failure on line 17 in spec/acceptance/post_transaction_actions_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - AlmaLinux 9

yum::post_transaction_action define simple parameters must work idempotently with no errors Expected pending 'must first enable ol7_optional_latest repo in OracleLinux 7' to fail. No error was raised.

Check failure on line 17 in spec/acceptance/post_transaction_actions_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Fedora 36

yum::post_transaction_action define simple parameters must work idempotently with no errors Expected pending 'must first enable ol7_optional_latest repo in OracleLinux 7' to fail. No error was raised.

Check failure on line 17 in spec/acceptance/post_transaction_actions_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Fedora 36

yum::post_transaction_action define simple parameters must work idempotently with no errors Expected pending 'must first enable ol7_optional_latest repo in OracleLinux 7' to fail. No error was raised.

Check failure on line 17 in spec/acceptance/post_transaction_actions_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Distro Puppet - Fedora 37

yum::post_transaction_action define simple parameters must work idempotently with no errors Expected pending 'must first enable ol7_optional_latest repo in OracleLinux 7' to fail. No error was raised.

Check failure on line 17 in spec/acceptance/post_transaction_actions_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Distro Puppet - Fedora 38

yum::post_transaction_action define simple parameters must work idempotently with no errors Expected pending 'must first enable ol7_optional_latest repo in OracleLinux 7' to fail. No error was raised.
pending('must first enable ol7_optional_latest repo in OracleLinux 7')
pp = <<-EOS
yum::post_transaction_action{'touch_file':
key => 'vim-*',
Expand All @@ -37,9 +37,7 @@
end

describe file('/tmp/vim-installed') do
it unless: facts['os']['name'] == 'OracleLinux' && facts['os']['release']['major'] == '7' do
is_expected.to be_file
end
it { is_expected.to be_file }
end
end
end

0 comments on commit 023df41

Please sign in to comment.