diff options
author | Cole Robinson <crobinso@redhat.com> | 2015-12-24 11:28:39 -0500 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2015-12-24 11:30:15 -0500 |
commit | 95fd32dffd37b44dea5168aff49ddfe1d9c80e2a (patch) | |
tree | c23761c33aa79b916a965f5bebb7bd6a27b74e2c /virtinst/storage.py | |
parent | f10bbfe5b3b6e5a9c773a2ce0a8824d252ba3786 (diff) | |
download | virt-manager-95fd32dffd37b44dea5168aff49ddfe1d9c80e2a.tar.gz |
storage: Avoid some test suite noise on thread cleanup
Diffstat (limited to 'virtinst/storage.py')
-rw-r--r-- | virtinst/storage.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/virtinst/storage.py b/virtinst/storage.py index 9901cfbf..c30bec98 100644 --- a/virtinst/storage.py +++ b/virtinst/storage.py @@ -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 |