From 375bfb423542e76906833eec76a4863a9b015e43 Mon Sep 17 00:00:00 2001 From: Alex Groce Date: Sat, 14 Jul 2018 12:00:47 -0700 Subject: [PATCH] fix keepalive to only output at five minute intervals --- tests/logrun.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/logrun.py b/tests/logrun.py index 6fc7efb..1165b31 100644 --- a/tests/logrun.py +++ b/tests/logrun.py @@ -17,6 +17,7 @@ def logrun(cmd, file, timeout): if (time.time() - lastOutput) > 300: sys.stderr.write(".") sys.stderr.flush() + lastOutput = time.time() with open(file, 'r') as inf: contents = inf.read() if len(contents) > len(oldContents):