From 50415cf9c40d6624d39cd5373ccb5cb9585b807c Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Tue, 25 Sep 2007 18:47:48 -0700 Subject: [PATCH] check_memory: more keepalive-file debug messages --- src/allmydata/test/check_memory.py | 3 +++ 1 file changed, 3 insertions(+) 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()) -- 2.45.2