mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Merge pull request #45112 from Ch3LL/fix-arch
Fix spm big file build test to check /tmp
This commit is contained in:
commit
9550e742ac
@ -42,9 +42,9 @@ class SPMBuildTest(SPMCase, ModuleCase):
|
||||
test spm build with a big file
|
||||
'''
|
||||
# check to make sure there is enough space to run this test
|
||||
check_space = self.run_function('status.diskusage', ['/'])
|
||||
space = check_space['/']['available']
|
||||
if space < 2000000:
|
||||
check_space = self.run_function('status.diskusage', ['/tmp'])
|
||||
space = check_space['/tmp']['available']
|
||||
if space < 3000000000:
|
||||
self.skipTest('Not enough space on host to run this test')
|
||||
|
||||
big_file = self.run_function('cmd.run',
|
||||
|
Loading…
Reference in New Issue
Block a user