<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/python-openstackclient.git/openstackclient/tests/functional/volume/v2/test_volume.py, branch 3.8.2</title>
<subtitle>opendev.org: openstack/python-openstackclient
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-openstackclient.git/'/>
<entry>
<title>volume functest: ensure snapshots deleted when volume delete</title>
<updated>2017-09-06T09:15:21+00:00</updated>
<author>
<name>Akihiro Motoki</name>
<email>amotoki@gmail.com</email>
</author>
<published>2017-05-21T03:36:23+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=5eb85674668e46fd657f150c77239b6a980eb2f5'/>
<id>5eb85674668e46fd657f150c77239b6a980eb2f5</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>functional test for volume</title>
<updated>2017-01-09T09:34:44+00:00</updated>
<author>
<name>jiahui.qiang</name>
<email>jiahui.qiang@easystack.cn</email>
</author>
<published>2017-01-06T10:35:28+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=07ade2266c80e47541f9e621e90e337cff69d56b'/>
<id>07ade2266c80e47541f9e621e90e337cff69d56b</id>
<content type='text'>
Rework functional tests to remove resource create/delete from
setupClass() and teardownClass() methods.
Add test for more command options

Change-Id: I2b6ad1fce26f04c11ed43f8d73515fde4a7d09af
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rework functional tests to remove resource create/delete from
setupClass() and teardownClass() methods.
Add test for more command options

Change-Id: I2b6ad1fce26f04c11ed43f8d73515fde4a7d09af
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor "snapshot" commands</title>
<updated>2016-11-03T08:15:02+00:00</updated>
<author>
<name>Huanxuan Ao</name>
<email>huanxuan.ao@easystack.cn</email>
</author>
<published>2016-09-14T06:54:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=23ee2fd8f060ed312a84eb03c99494e8af2ffb6f'/>
<id>23ee2fd8f060ed312a84eb03c99494e8af2ffb6f</id>
<content type='text'>
1.change the command name ``snapshot create/delete/list/
show/set/unset`` to ``volume snapshot create/delete/list/
show/set/unset``.

2.change the optional parameter "--name &lt;name&gt;" to a
positional parameter "&lt;snapshot-name&gt;"; Change the
positional parameter "&lt;volume&gt;" to a optional
parameter "--volume &lt;volume&gt;"

Change-Id: If03276ecdf6f0d96893d5ecf91c2aaa64929cff3
Implements: bp backup-snapshot-renamed-for-volume-resource
Co-Authored-By: Sheel Rana &lt;ranasheel2000@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1.change the command name ``snapshot create/delete/list/
show/set/unset`` to ``volume snapshot create/delete/list/
show/set/unset``.

2.change the optional parameter "--name &lt;name&gt;" to a
positional parameter "&lt;snapshot-name&gt;"; Change the
positional parameter "&lt;volume&gt;" to a optional
parameter "--volume &lt;volume&gt;"

Change-Id: If03276ecdf6f0d96893d5ecf91c2aaa64929cff3
Implements: bp backup-snapshot-renamed-for-volume-resource
Co-Authored-By: Sheel Rana &lt;ranasheel2000@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Support mark volume as bootable in volume set</title>
<updated>2016-09-14T16:35:49+00:00</updated>
<author>
<name>qtang</name>
<email>qtang@vmware.com</email>
</author>
<published>2016-08-25T02:56:58+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=6a914d0056e810e1ef37eaf4f01cd5c85217aba6'/>
<id>6a914d0056e810e1ef37eaf4f01cd5c85217aba6</id>
<content type='text'>
Add --bootable | --non-bootable option in volume set
to mark or unmark volume as bootable.

Change-Id: Ifa6c2dd1642202f55b6d50e3b8614d3513d488f6
Closes-Bug:#1535704
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add --bootable | --non-bootable option in volume set
to mark or unmark volume as bootable.

Change-Id: Ifa6c2dd1642202f55b6d50e3b8614d3513d488f6
Closes-Bug:#1535704
</pre>
</div>
</content>
</entry>
<entry>
<title>move all functional tests to tests module</title>
<updated>2016-09-09T03:29:47+00:00</updated>
<author>
<name>Steve Martinelli</name>
<email>s.martinelli@gmail.com</email>
</author>
<published>2016-09-06T03:35:06+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/openstack/python-openstackclient.git/commit/?id=c14d3efe6162a58cb3cdcb2834ad2508e2525018'/>
<id>c14d3efe6162a58cb3cdcb2834ad2508e2525018</id>
<content type='text'>
functional tests should be grouped with other tests (unit and
integration tests). as part of this commit the "common" module
was renamed to just "base", this was done for simplicity.

the post_test_hook.sh file was also copied to the functional module
since it should live there. a separate change to the infra repo
will be made to call the new location, once that is merged we
can remove the old one (a new change will also be posted for that)

Needed-By: I49d54f009021d65c1ae49faf6b3f0a7acdadd7b3
Change-Id: Ie8c334f6223373b8e06df8bd8466500d2a2c8ede
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
functional tests should be grouped with other tests (unit and
integration tests). as part of this commit the "common" module
was renamed to just "base", this was done for simplicity.

the post_test_hook.sh file was also copied to the functional module
since it should live there. a separate change to the infra repo
will be made to call the new location, once that is merged we
can remove the old one (a new change will also be posted for that)

Needed-By: I49d54f009021d65c1ae49faf6b3f0a7acdadd7b3
Change-Id: Ie8c334f6223373b8e06df8bd8466500d2a2c8ede
</pre>
</div>
</content>
</entry>
</feed>
