projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d7368f
)
check_memory: more keepalive-file debug messages
author
Brian Warner
<warner@allmydata.com>
Wed, 26 Sep 2007 01:47:48 +0000
(18:47 -0700)
committer
Brian Warner
<warner@allmydata.com>
Wed, 26 Sep 2007 01:47:48 +0000
(18:47 -0700)
src/allmydata/test/check_memory.py
patch
|
blob
|
history
diff --git
a/src/allmydata/test/check_memory.py
b/src/allmydata/test/check_memory.py
index d84dc3052ce37c44e8a72b9d36cfd857cb21f582..1fd3406c50c6d5d7859394ed102e8e58654fb88a 100644
(file)
--- a/
src/allmydata/test/check_memory.py
+++ b/
src/allmydata/test/check_memory.py
@@
-142,6
+142,9
@@
class SystemFramework(testutil.PollMixin):
# the client node will shut down in a few seconds
#os.remove(os.path.join(self.clientdir, "suicide_prevention_hotline"))
log.msg("shutting down SystemTest services")
+ if os.path.exists(self.keepalive_file):
+ age = time.time() - os.stat(self.keepalive_file)[stat.ST_MTIME]
+ log.msg("keepalive file at shutdown was %ds old" % age)
d = defer.succeed(None)
if self.proc:
d.addCallback(lambda res: self.kill_client())