Difference between revisions of "Blueprint-speed-up-tempest"
Line 29: | Line 29: | ||
== Implementation == | == Implementation == | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== UI Changes === | === UI Changes === | ||
Line 57: | Line 36: | ||
=== Code Changes === | === Code Changes === | ||
− | + | Encapsulate the setUpClass() _contents_ into fixtures and testresources. | |
+ | Then, the body of the setUpClass should only contain calls to | ||
+ | instantiate the fixtures. If the tests are run via nosetests as | ||
+ | currently, there will be no operational changes and this can be landed | ||
+ | in master. | ||
=== Security and Internal Server Error Considerations === | === Security and Internal Server Error Considerations === | ||
Line 63: | Line 46: | ||
=== Additional Notes === | === Additional Notes === | ||
− | + | 10GB volume storage will not be enough, but the Thin provisioning can help. | |
− | The test cases | + | The test cases rarely needs to writes to the volumes. |
+ | |||
More then 64 MB memory flavor type might be necessary for testing heat properly, but it will be rare case. | More then 64 MB memory flavor type might be necessary for testing heat properly, but it will be rare case. | ||
+ | |||
=== Migration === | === Migration === |
Revision as of 18:50, 18 May 2013
- Launchpad Entry: TempestSpec:speed-up-tempest
- Created: 18 May 2013
- Contributors:
Contents
Summary
Ruining test cases in parallel.
Release Note
Rationale
Parallel test case execution on multiple machines can dramatically speed up Unit Test execution.
Introduction
User stories
'Gate is tooo slow'
Assumptions
Gate jobs will speed up.
Design
Replacing the notesttests test runner to testtools/testresources/testrepository combination.
Implementation
UI Changes
Output will change.
Code Changes
Encapsulate the setUpClass() _contents_ into fixtures and testresources. Then, the body of the setUpClass should only contain calls to instantiate the fixtures. If the tests are run via nosetests as currently, there will be no operational changes and this can be landed in master.
Security and Internal Server Error Considerations
Additional Notes
10GB volume storage will not be enough, but the Thin provisioning can help. The test cases rarely needs to writes to the volumes.
More then 64 MB memory flavor type might be necessary for testing heat properly, but it will be rare case.
Migration
?
Test/Demo Plan
?
Unresolved issues
https://bugs.launchpad.net/nova/+bug/1016633