From: david-sarah Date: Fri, 31 Dec 2010 20:32:15 +0000 (-0800) Subject: test_storage.py: leave at least 512 MiB free when running test_large_share. refs... X-Git-Url: https://git.rkrishnan.org/pf/content/frontends/install.html?a=commitdiff_plain;h=0da10d4c373eae19324092f278ab4265982844eb;p=tahoe-lafs%2Ftahoe-lafs.git test_storage.py: leave at least 512 MiB free when running test_large_share. refs #1195 --- diff --git a/src/allmydata/test/test_storage.py b/src/allmydata/test/test_storage.py index 1c07fccf..c9e0ae25 100644 --- a/src/allmydata/test/test_storage.py +++ b/src/allmydata/test/test_storage.py @@ -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.")