Fixed log output
This commit is contained in:
parent
b211ad455d
commit
c23308e9f1
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue