Merge pull request #336 from mhaskel/fix_acceptance_tests

Debian seems to have hanging apt-get and/or dpkg processes, so kill
This commit is contained in:
Ashley Penney 2014-07-30 15:09:40 -04:00
commit a68eca58a6

View file

@ -10,8 +10,8 @@ describe 'apt::unattended_upgrades class', :unless => UNSUPPORTED_PLATFORMS.incl
# Attempted workaround for problems seen on debian with # Attempted workaround for problems seen on debian with
# something holding the package database open. # something holding the package database open.
#shell('killall -9 apt-get') shell('killall -9 apt-get', { :acceptable_exit_codes => [0,1] })
#shell('killall -9 dpkg') shell('killall -9 dpkg', { :acceptable_exit_codes => [0,1] })
apply_manifest(pp, :catch_failures => true) apply_manifest(pp, :catch_failures => true)
end end