upgrade including linux kernels

This is required for ubuntu 14.04 to pass.
This commit is contained in:
Daniel Wallace 2018-08-27 13:34:48 -05:00 committed by Ch3LL
parent 7043286d6c
commit ce2733ef9a
No known key found for this signature in database
GPG key ID: 132B55A7C13EFA73

View file

@ -324,7 +324,10 @@ class PkgModuleTest(ModuleCase, SaltReturnAssertsMixin):
if ret == '' or ret == {}:
self.skipTest('No updates available for this machine. Skipping pkg.upgrade test.')
else:
ret = self.run_function(func)
args = []
if os_family == 'Debian':
args = ['dist_upgrade=True']
ret = self.run_function(func, args)
if 'Problem encountered' in ret:
self.skipTest('A problem was encountered when running pkg.upgrade. This test is '