mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
test_storage.py: leave at least 512 MiB free when running test_large_share. refs #1195
This commit is contained in:
parent
123a1a3f04
commit
0da10d4c37
@ -267,7 +267,7 @@ class Server(unittest.TestCase):
|
||||
if 'cygwin' in syslow or 'windows' in syslow or 'darwin' in syslow:
|
||||
raise unittest.SkipTest("If your filesystem doesn't support efficient sparse files then it is very expensive (Mac OS X and Windows don't support efficient sparse files).")
|
||||
|
||||
avail = fileutil.get_available_space('.', 2**14)
|
||||
avail = fileutil.get_available_space('.', 512*2**20)
|
||||
if avail <= 4*2**30:
|
||||
raise unittest.SkipTest("This test will spuriously fail if you have less than 4 GiB free on your filesystem.")
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user