From 0da10d4c373eae19324092f278ab4265982844eb Mon Sep 17 00:00:00 2001 From: david-sarah <david-sarah@jacaranda.org> Date: Fri, 31 Dec 2010 12:32:15 -0800 Subject: [PATCH] test_storage.py: leave at least 512 MiB free when running test_large_share. refs #1195 --- src/allmydata/test/test_storage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.") -- 2.45.2