From: Brian Warner Date: Wed, 19 Sep 2007 02:40:29 +0000 (-0700) Subject: check_memory: don't accept shares for download/download-GET test, since that hits... X-Git-Tag: allmydata-tahoe-0.6.0~72 X-Git-Url: https://git.rkrishnan.org/listings/pb2server.py?a=commitdiff_plain;h=2886c5aeae5bfbfe33c769fb67240844100cc2a7;p=tahoe-lafs%2Ftahoe-lafs.git check_memory: don't accept shares for download/download-GET test, since that hits bug #97 --- diff --git a/src/allmydata/test/check_memory.py b/src/allmydata/test/check_memory.py index b25fa269..5e499f53 100644 --- a/src/allmydata/test/check_memory.py +++ b/src/allmydata/test/check_memory.py @@ -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.