Race condition still exists at one second timeout.

This commit is contained in:
Michael Lustfield 2018-10-20 19:27:58 -05:00
parent 3a62f74758
commit 49599475b1
No known key found for this signature in database
GPG key ID: 03A8891A765AD085

View file

@ -894,7 +894,7 @@ def destroy(name, call=None):
# required to wait a bit here, otherwise the VM is sometimes
# still locked and destroy fails.
time.sleep(1)
time.sleep(3)
query('delete', 'nodes/{0}/{1}'.format(
vmobj['node'], vmobj['id']