Fixed log output

This commit is contained in:
dvanaken 2019-11-26 04:47:42 -05:00 committed by Dana Van Aken
parent b211ad455d
commit c23308e9f1
1 changed files with 1 additions and 1 deletions

View File

@ -698,7 +698,7 @@ def wait_pipeline_data_ready(max_time_sec=800, interval_sec=10):
while elapsed <= max_time_sec: while elapsed <= max_time_sec:
response = requests.get(dconf.WEBSITE_URL + '/test/pipeline/') response = requests.get(dconf.WEBSITE_URL + '/test/pipeline/')
content = get_content(response) content = get_content(response)
LOG.info("%s (elapsed: %ss)", content, interval_sec) LOG.info("%s (elapsed: %ss)", content, elapsed)
if 'False' in content: if 'False' in content:
time.sleep(interval_sec) time.sleep(interval_sec)
elapsed += interval_sec elapsed += interval_sec