Commit d3c6e430 authored by Łukasz Nowak's avatar Łukasz Nowak

Emit information

This is required by erp5testnode to not kill the process.
parent d3095a41
......@@ -84,6 +84,7 @@ def main():
result_path = None
start = time()
while 1:
print('Waiting for data. Try %s/%s' % (try_num, try_amount))
result_list = glob.glob(
os.path.join(
args.partition_path,
......@@ -97,6 +98,7 @@ def main():
break
if try_num > try_amount:
break
try_num += 1
sleep(10)
if result_path is None:
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