add a simple run counter to run_failure.py

This commit is contained in:
Hanno Schlichting
2012-08-22 14:48:21 +02:00
parent a0a14455b9
commit b318935151

View File

@@ -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