storage: Avoid some test suite noise on thread cleanup

This commit is contained in:
Cole Robinson 2015-12-24 11:28:39 -05:00
parent f10bbfe5b3
commit 95fd32dffd

View File

@ -820,7 +820,9 @@ class StorageVolume(_StorageObject):
vol.info()
break
except:
time.sleep(.2)
if time:
# This 'if' check saves some noise from the test suite
time.sleep(.2)
if self._install_finished:
break