]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
check_memory: don't accept shares for download/download-GET test, since that hits...
authorBrian Warner <warner@allmydata.com>
Wed, 19 Sep 2007 02:40:29 +0000 (19:40 -0700)
committerBrian Warner <warner@allmydata.com>
Wed, 19 Sep 2007 02:40:29 +0000 (19:40 -0700)
src/allmydata/test/check_memory.py

index b25fa2691bd962c07cc4416fb9dd2b70d8a617ee..5e499f530b86c77a46d82e7bd40d64591004e0fc 100644 (file)
@@ -171,10 +171,14 @@ this file are ignored.
             f = open(os.path.join(clientdir, "debug_no_storage"), "w")
             f.write("no_storage\n")
             f.close()
-        if self.mode in ("upload-self", "download", "download-GET"):
+        if self.mode in ("upload-self"):
             f = open(os.path.join(clientdir, "push_to_ourselves"), "w")
             f.write("push_to_ourselves\n")
             f.close()
+        else:
+            f = open(os.path.join(clientdir, "sizelimit"), "w")
+            f.write("0\n")
+            f.close()
         self.keepalive_file = os.path.join(clientdir,
                                            "suicide_prevention_hotline")
         # now start updating the mtime.