]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
immutable: tests: the real WRITE_LEEWAY is 35 (it was a mistake to move it from 10...
authorZooko O'Whielacronx <zooko@zooko.com>
Tue, 10 Feb 2009 06:53:48 +0000 (23:53 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Tue, 10 Feb 2009 06:53:48 +0000 (23:53 -0700)
src/allmydata/test/test_repairer.py

index 8e9ac0a994b5962fdfb27acf7965f089858e6b66..f303aa5dd229dd8f47606026aa3aa57d909fdab3 100644 (file)
@@ -331,9 +331,9 @@ class Verifier(common.ShareManglingMixin, unittest.TestCase):
             ], judge)
     test_verify_server_invisible_corruption_share_hash_tree_TODO.todo = "Verifier doesn't yet properly detect this kind of corruption."
 
-# We'll allow you to pass this test even if you trigger twenty times as many
-# block sends and disk writes as would be optimal.
-WRITE_LEEWAY = 20
+# We'll allow you to pass this test even if you trigger thirty-five times as many block sends
+# and disk writes as would be optimal.
+WRITE_LEEWAY = 35
 # Optimally, you could repair one of these (small) files in a single write.
 DELTA_WRITES_PER_SHARE = 1 * WRITE_LEEWAY