Skip to content

Commit

Permalink
updated engine.py based off of comments for stress test bugfix PR#7
Browse files Browse the repository at this point in the history
  • Loading branch information
sandyhider committed Dec 13, 2017
1 parent 7f8d758 commit ff1b470
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions ingestclient/core/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,13 @@ def monitor(self, workers):
log_str += " - Elapsed time {:.2f} minutes".format((time.time() - start_time) / 60)
always_log_info(log_str)
else:
always_log_info(
"Waiting to ensure all upload tasks have been processed. Just a few minutes longer...")
log_str = "Waiting to ensure all upload tasks have been processed. Just a few minutes longer..."
always_log_info(log_str)

else:
always_log_info("Uploading in progress: Elapsed time {:.2f} minutes".format(
(time.time() - start_time) / 60))
log_str = "Uploading in progress: Elapsed time {:.2f} minutes"
log_str = log_str.format((time.time() - start_time) / 60)
always_log_info()

# Wait to loop
time.sleep(10)
Expand Down

0 comments on commit ff1b470

Please sign in to comment.