X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=spec%2Facceptance%2Funattended_upgrade_spec.rb;h=6a19f4e74e044c5efb5eaf352340241fabd047b1;hb=98d16464c32d17e449cc12dd2406654afe81f397;hp=287e5ec8e825d39ebd1cd643bb6f187d33c5c54c;hpb=16e57d4e4525b83d865db71f3bba300c54467255;p=puppet-modules%2Fpuppetlabs-apt.git diff --git a/spec/acceptance/unattended_upgrade_spec.rb b/spec/acceptance/unattended_upgrade_spec.rb index 287e5ec..6a19f4e 100644 --- a/spec/acceptance/unattended_upgrade_spec.rb +++ b/spec/acceptance/unattended_upgrade_spec.rb @@ -1,6 +1,6 @@ require 'spec_helper_acceptance' -describe 'apt::unattended_upgrades class' do +describe 'apt::unattended_upgrades class', :unless => UNSUPPORTED_PLATFORMS.include?(fact('osfamily')) do context 'defaults' do it 'should work with no errors' do pp = <<-EOS @@ -8,6 +8,10 @@ describe 'apt::unattended_upgrades class' do include apt::unattended_upgrades EOS + # Attempted workaround for problems seen on debian with + # something holding the package database open. + #shell('killall -9 apt-get') + #shell('killall -9 dpkg') apply_manifest(pp, :catch_failures => true) end