Browse Source

Remove unnecessary log message

This commit removes a useless log message from call_until_true. The
debug log there provides no useful debug information, just printing
that the sleep loop iterated doesn't enable any extra debugging. In
the worst case it ends up polluting the logs with the same message
while the loop times out. So let's just remove it.

Closes-Bug: #1336591
Change-Id: Ia0cec5c699470554a25c077082878772158f4c5a
changes/45/104045/1
Matthew Treinish 8 years ago
parent
commit
70ea1ca2ff
  1. 1
      tempest/test.py

1
tempest/test.py

@ -621,7 +621,6 @@ def call_until_true(func, duration, sleep_for):
while now < timeout:
if func():
return True
LOG.debug("Sleeping for %d seconds", sleep_for)
time.sleep(sleep_for)
now = time.time()
return False

Loading…
Cancel
Save