From 2886c5aeae5bfbfe33c769fb67240844100cc2a7 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Tue, 18 Sep 2007 19:40:29 -0700 Subject: [PATCH] check_memory: don't accept shares for download/download-GET test, since that hits bug #97 --- src/allmydata/test/check_memory.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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. -- 2.45.2