From: Brian Warner Date: Wed, 26 Sep 2007 01:47:48 +0000 (-0700) Subject: check_memory: more keepalive-file debug messages X-Git-Tag: allmydata-tahoe-0.6.1~85 X-Git-Url: https://git.rkrishnan.org/vdrive/%3C?a=commitdiff_plain;h=50415cf9c40d6624d39cd5373ccb5cb9585b807c;p=tahoe-lafs%2Ftahoe-lafs.git check_memory: more keepalive-file debug messages --- diff --git a/src/allmydata/test/check_memory.py b/src/allmydata/test/check_memory.py index d84dc305..1fd3406c 100644 --- 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())