<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/tempest.git/tempest/api/compute/limits/test_absolute_limits.py, branch master</title>
<subtitle>opendev.org: openstack/tempest
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/'/>
<entry>
<title>Adding description for testcases - compute part5</title>
<updated>2020-07-30T02:05:37+00:00</updated>
<author>
<name>zhufl</name>
<email>zhu.fanglei@zte.com.cn</email>
</author>
<published>2020-05-27T01:18:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=b5603bc4f8d7fb98007e71f2328e30f797fd1942'/>
<id>b5603bc4f8d7fb98007e71f2328e30f797fd1942</id>
<content type='text'>
When Tempest is used in customer site, often we are required to
provide a testcase list including testcase names and descriptions.
Now no this kind of doc is available, so we can add descriptions
with the format of doc string for every testcase, so later we
can generata such a testcase description list.

There are hundreds of testcases missing descriptions, so we can
add them gradually, and limit the modified files in one patch
for the convenience of reviewing.

Change-Id: I20744e4957fbd5b039fdd52ac530f11ac6d72319
partially-implements: blueprint testcase-description
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When Tempest is used in customer site, often we are required to
provide a testcase list including testcase names and descriptions.
Now no this kind of doc is available, so we can add descriptions
with the format of doc string for every testcase, so later we
can generata such a testcase description list.

There are hundreds of testcases missing descriptions, so we can
add them gradually, and limit the modified files in one patch
for the convenience of reviewing.

Change-Id: I20744e4957fbd5b039fdd52ac530f11ac6d72319
partially-implements: blueprint testcase-description
</pre>
</div>
</content>
</entry>
<entry>
<title>Modify limits fields according to microversion</title>
<updated>2018-07-30T03:01:26+00:00</updated>
<author>
<name>zhufl</name>
<email>zhu.fanglei@zte.com.cn</email>
</author>
<published>2018-03-29T02:28:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=8013413d8c5ee00469197dd0d018c4a6225974ea'/>
<id>8013413d8c5ee00469197dd0d018c4a6225974ea</id>
<content type='text'>
1. Some limits fields are removed from Microversion 2.35/2.38/2.56,
   so we should check limits fields according to microversion.
2. In test_max_metadata_exceed_limit, maxImageMeta is deprecated from
   Microversion 2.38, so maxServerMeta is used instead, btw, maxServerMeta
   seems to be more suitable for this testcase.
   Besides, test_max_metadata_exceed_limit is not used in interop, so we
   can safely change its name.

ref: https://developer.openstack.org/api-ref/compute/#show-rate-and-absolute-limits

Implements blueprint: clear-deprecated-api

Change-Id: I53e2ee82c9c52afb0a56526c655eb9b3b6b8f483
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1. Some limits fields are removed from Microversion 2.35/2.38/2.56,
   so we should check limits fields according to microversion.
2. In test_max_metadata_exceed_limit, maxImageMeta is deprecated from
   Microversion 2.38, so maxServerMeta is used instead, btw, maxServerMeta
   seems to be more suitable for this testcase.
   Besides, test_max_metadata_exceed_limit is not used in interop, so we
   can safely change its name.

ref: https://developer.openstack.org/api-ref/compute/#show-rate-and-absolute-limits

Implements blueprint: clear-deprecated-api

Change-Id: I53e2ee82c9c52afb0a56526c655eb9b3b6b8f483
</pre>
</div>
</content>
</entry>
<entry>
<title>Use assert(Not)Empty,IsNotNone instead of assert(Not)Equal,GreaterEqual(0, len(..</title>
<updated>2017-06-05T22:43:53+00:00</updated>
<author>
<name>Masayuki Igawa</name>
<email>masayuki@igawa.me</email>
</author>
<published>2017-04-10T05:49:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=f9009b486946dbe38507b1a6b8c73e4dcad9a0ed'/>
<id>f9009b486946dbe38507b1a6b8c73e4dcad9a0ed</id>
<content type='text'>
This commit makes to use assert(Not)Empty() or assertIsNotNone() instead
of assert(Not)Equal(0, len(LIST),..) or assertGreaterEqual(0, len()...).
The original code asserts the specified list is empty or not. And we
already have assert(Not)Empty() for it. The method names
"assert(Not)Empty" are straightforward and easy to understand. It makes
the code clean and the assert message could be easier to understand what
is happen than original ones.

Change-Id: I715ec84d9139b1d196275e91212ab40d52a545e1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit makes to use assert(Not)Empty() or assertIsNotNone() instead
of assert(Not)Equal(0, len(LIST),..) or assertGreaterEqual(0, len()...).
The original code asserts the specified list is empty or not. And we
already have assert(Not)Empty() for it. The method names
"assert(Not)Empty" are straightforward and easy to understand. It makes
the code clean and the assert message could be easier to understand what
is happen than original ones.

Change-Id: I715ec84d9139b1d196275e91212ab40d52a545e1
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch to decorators.idempotent_id on compute.*</title>
<updated>2017-01-28T01:35:38+00:00</updated>
<author>
<name>Ken'ichi Ohmichi</name>
<email>ken-oomichi@wx.jp.nec.com</email>
</author>
<published>2017-01-28T01:32:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=6c92edfa2f242289192e5ff8bd9aadb079f26bca'/>
<id>6c92edfa2f242289192e5ff8bd9aadb079f26bca</id>
<content type='text'>
So many modules are using test.idempotent_id and this is for
switching to decorators.idempotent_id on compute.*.

Change-Id: Ib4ace375a41b9607d1b1cea7dda296fb601a0264
Related-Bug: #1616913
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So many modules are using test.idempotent_id and this is for
switching to decorators.idempotent_id on compute.*.

Change-Id: Ib4ace375a41b9607d1b1cea7dda296fb601a0264
Related-Bug: #1616913
</pre>
</div>
</content>
</entry>
<entry>
<title>Add server group limits in test_absLimits_get</title>
<updated>2016-12-01T09:44:16+00:00</updated>
<author>
<name>zhufl</name>
<email>zhu.fanglei@zte.com.cn</email>
</author>
<published>2016-12-01T09:44:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=a59e59ec710e872d2ca17c1351abe110ae6fc1ca'/>
<id>a59e59ec710e872d2ca17c1351abe110ae6fc1ca</id>
<content type='text'>
Limits about server groups are missing in test_absLimits_get,
see
http://developer.openstack.org/api-ref/compute/?expanded=
show-rate-and-absolute-limits-detail#show-rate-and-absolute-limits

This is to add missing limit items about server group.

Change-Id: If7f62293daa82cdca848d141216dd75386d452ed
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Limits about server groups are missing in test_absLimits_get,
see
http://developer.openstack.org/api-ref/compute/?expanded=
show-rate-and-absolute-limits-detail#show-rate-and-absolute-limits

This is to add missing limit items about server group.

Change-Id: If7f62293daa82cdca848d141216dd75386d452ed
</pre>
</div>
</content>
</entry>
<entry>
<title>Return complete response from limits,migration client</title>
<updated>2015-08-26T02:21:54+00:00</updated>
<author>
<name>ghanshyam</name>
<email>ghanshyam.mann@nectechnologies.in</email>
</author>
<published>2015-08-24T06:55:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=8a59949f00820d97cd8dfb198622f3045aaafac1'/>
<id>8a59949f00820d97cd8dfb198622f3045aaafac1</id>
<content type='text'>
Currently compute limits and migration client returns Response by
removing top key from Response.
For example-
 return service_client.ResponseBody(resp, body['limits'])

As service clients are in direction to move to Tempest-lib, all
service clients should return Response without any truncation.
One good example is Resource pagination links which are lost with current
way of return value. Resource pagination links are present in parallel
(not inside) to top key of Response.

This patch makes compute limits and migration client to return complete
Response body.

Change-Id: Ice3665e91ff34409f6f105303213303d1fca1816
Implements: blueprint method-return-value-and-move-service-clients-to-lib
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently compute limits and migration client returns Response by
removing top key from Response.
For example-
 return service_client.ResponseBody(resp, body['limits'])

As service clients are in direction to move to Tempest-lib, all
service clients should return Response without any truncation.
One good example is Resource pagination links which are lost with current
way of return value. Resource pagination links are present in parallel
(not inside) to top key of Response.

This patch makes compute limits and migration client to return complete
Response body.

Change-Id: Ice3665e91ff34409f6f105303213303d1fca1816
Implements: blueprint method-return-value-and-move-service-clients-to-lib
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove key 'absolute' from limits client</title>
<updated>2015-06-16T23:38:11+00:00</updated>
<author>
<name>Ken'ichi Ohmichi</name>
<email>oomichi@mxs.nes.nec.co.jp</email>
</author>
<published>2015-06-15T07:11:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=b93e67690c35285e1fc01bfa02f7c0f9fe079765'/>
<id>b93e67690c35285e1fc01bfa02f7c0f9fe079765</id>
<content type='text'>
limits client should be just for getting a resource "limits",
it is not necessary to specify key 'absolute' at all as the library
method.
In addition, this patch removes get_specific_absolute_limit because
the method was just wrapper. That should be implemented on test side.

Change-Id: I5c0ffc136939d0aeb8574c180353715f2a0e2665
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
limits client should be just for getting a resource "limits",
it is not necessary to specify key 'absolute' at all as the library
method.
In addition, this patch removes get_specific_absolute_limit because
the method was just wrapper. That should be implemented on test side.

Change-Id: I5c0ffc136939d0aeb8574c180353715f2a0e2665
</pre>
</div>
</content>
</entry>
<entry>
<title>Apply a naming rule of GET to compute clients(l*)</title>
<updated>2015-06-15T04:14:44+00:00</updated>
<author>
<name>Ken'ichi Ohmichi</name>
<email>oomichi@mxs.nes.nec.co.jp</email>
</author>
<published>2015-06-11T05:28:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=354338da0a837b9b71db8889717b31d08d705fa9'/>
<id>354338da0a837b9b71db8889717b31d08d705fa9</id>
<content type='text'>
[GET /resources] methods should be "list_&lt;resource name&gt;s"
or "show_&lt;resource name&gt;", so this patch applies the rule
to compute clients which name is "limits".

Partially implements blueprint consistent-service-method-names

Change-Id: Ibe30d01057936cea68f38984064dff107cdcbe5c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[GET /resources] methods should be "list_&lt;resource name&gt;s"
or "show_&lt;resource name&gt;", so this patch applies the rule
to compute clients which name is "limits".

Partially implements blueprint consistent-service-method-names

Change-Id: Ibe30d01057936cea68f38984064dff107cdcbe5c
</pre>
</div>
</content>
</entry>
<entry>
<title>remove gate tag (part 1)</title>
<updated>2015-04-27T13:13:25+00:00</updated>
<author>
<name>Sean Dague</name>
<email>sean@dague.net</email>
</author>
<published>2015-04-27T12:49:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=1b05daaf2add62dc79335e3c559aac3c5482268f'/>
<id>1b05daaf2add62dc79335e3c559aac3c5482268f</id>
<content type='text'>
This removes all bare gate attribute tags from functions, the gate tag
was a never fully implemented idea in the past, and it's existence in
the code mostly just confuses people.

Change-Id: I462ca7a8cadeb5013e2bce44ed1e69bcf8f9d968
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This removes all bare gate attribute tags from functions, the gate tag
was a never fully implemented idea in the past, and it's existence in
the code mostly just confuses people.

Change-Id: I462ca7a8cadeb5013e2bce44ed1e69bcf8f9d968
</pre>
</div>
</content>
</entry>
<entry>
<title>Add UUIDs to all tempest tests and gate check</title>
<updated>2015-02-27T00:05:16+00:00</updated>
<author>
<name>Chris Hoge</name>
<email>chris@openstack.org</email>
</author>
<published>2015-02-26T22:12:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=7579c1a40e68e58af2403181c67e2e687e8cf074'/>
<id>7579c1a40e68e58af2403181c67e2e687e8cf074</id>
<content type='text'>
Adds uuid4 as a decorator of the form:
@test.idempotent_id('12345678-1234-1234-1234-123456789abc')
to every test in the Tempest tree. Includes a gate check to
ensure the existence and uniqueness of the ids.

Modify check tool to ignore Tempest unit tests.

Change-Id: I19e3c7dd555a3ea09d585fb9091c357a300e6559
Co-Authored-By: Sergey Slipushenko &lt;sslypushenko@mirantis.com&gt;
Implements: bp test-uuid
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adds uuid4 as a decorator of the form:
@test.idempotent_id('12345678-1234-1234-1234-123456789abc')
to every test in the Tempest tree. Includes a gate check to
ensure the existence and uniqueness of the ids.

Modify check tool to ignore Tempest unit tests.

Change-Id: I19e3c7dd555a3ea09d585fb9091c357a300e6559
Co-Authored-By: Sergey Slipushenko &lt;sslypushenko@mirantis.com&gt;
Implements: bp test-uuid
</pre>
</div>
</content>
</entry>
</feed>
