Commit 5161764e authored by Łukasz Nowak's avatar Łukasz Nowak

Emit information

This is required by erp5testnode to not kill the process.
parent c3438854
...@@ -84,6 +84,7 @@ def main(): ...@@ -84,6 +84,7 @@ def main():
result_path = None result_path = None
start = time() start = time()
while 1: while 1:
print('Waiting for data. Try %s/%s' % (try_num, try_amount))
result_list = glob.glob( result_list = glob.glob(
os.path.join( os.path.join(
args.partition_path, args.partition_path,
...@@ -98,6 +99,7 @@ def main(): ...@@ -98,6 +99,7 @@ def main():
break break
if try_num > try_amount: if try_num > try_amount:
break break
try_num += 1
sleep(10) sleep(10)
if result_path is None: if result_path is None:
status_dict['stdout'] = 'Test timed out and no result found.' status_dict['stdout'] = 'Test timed out and no result found.'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment