No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
Ensure nova is configured to allow resizing of instances on a single host: | Ensure nova is configured to allow resizing of instances on a single host: | ||
$> | $> echo 'allow_resize_to_same_host = True' | sudo tee -a /etc/nova/nova.conf | ||
$> for svc in api compute scheduler; do sudo systemctl restart openstack-nova-$svc.service; done | $> for svc in api compute scheduler; do sudo systemctl restart openstack-nova-$svc.service; done | ||
Revision as of 14:14, 8 March 2012
Description
Run Tempest test cases.
Setup
Assumes keystone, nova and glance are already configured and running.
Ensure nova is configured to allow resizing of instances on a single host:
$> echo 'allow_resize_to_same_host = True'
How to test
Run Tempest tests with nose:
$> nosetests tempest
Expected Results
The time taken to run the testsuite is quite variable, and ranges from ~20 minutes on an EC2 large instance to circa twice that on a VM with 2Gb RAM and 2 CPUs running on a moderately powered laptop.
The majority of the tests should pass, though you may hit some failures due to timeout or resource starvation (for example breaching the floating IPs quota).