summaryrefslogtreecommitdiff
path: root/openstackclient/api/auth.py
diff options
context:
space:
mode:
authorAkihiro Motoki <amotoki@gmail.com>2017-05-21 03:36:23 +0000
committerJulie Pichon <jpichon@redhat.com>2017-09-06 10:15:21 +0100
commit5eb85674668e46fd657f150c77239b6a980eb2f5 (patch)
tree0743fa5858623b338f6a4ebe06846dcf0402515d /openstackclient/api/auth.py
parent31087e42226e487099e903d05a0f5b1ff80c7be3 (diff)
downloadpython-openstackclient-5eb85674668e46fd657f150c77239b6a980eb2f5.tar.gz
volume functest: ensure snapshots deleted when volume delete
Deleting snapshot may take time. The current volume API does not allow to delete volumes with snapshots, so if deleting snapshot may take time, a delete request for a parent volume will fail. This sometimes causes functional test failures in slow environments. wait_for_status() checks whether volume status is in error statuses but previously the expected error status was wrong. Cinder API uses lower case as volume status, so it did not work expectedly. Conflicts: openstackclient/tests/functional/compute/v2/common.py openstackclient/tests/functional/compute/v2/test_server.py openstackclient/tests/functional/volume/v1/test_volume.py openstackclient/tests/functional/volume/v2/test_volume.py openstackclient/tests/functional/volume/v3/common.py Change-Id: I095894ba39f23bf81d71351818d24dbb5ca459fb (cherry picked from commit eeb614c47759fa9a01e6d886ed07acceb8d9ff61) Closes-Bug: #1714977
Diffstat (limited to 'openstackclient/api/auth.py')
0 files changed, 0 insertions, 0 deletions