summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Schlichting <hanno@hannosch.eu>2012-08-22 14:48:21 +0200
committerHanno Schlichting <hanno@hannosch.eu>2012-08-22 14:48:21 +0200
commitb318935151879d0c9cedc58eae72aede74ffdb6a (patch)
tree6fb4c5ec68ae74f844af0cfc8d10931ea76dbd84
parenta0a14455b9ba500d9f62c6cfb4b544b7f5a483b1 (diff)
downloadkazoo-b318935151879d0c9cedc58eae72aede74ffdb6a.tar.gz
add a simple run counter to `run_failure.py`
-rw-r--r--run_failure.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/run_failure.py b/run_failure.py
index 365c66a..bb7711b 100644
--- a/run_failure.py
+++ b/run_failure.py
@@ -13,7 +13,10 @@ def main(args):
"kazoo.tests.test_watchers:KazooChildrenWatcherTests")
return
arg = args[0]
+ i = 0
while 1:
+ i += 1
+ print('Run number: %s' % i)
ret = test(arg)
if ret != 0:
break