Asserting an an array length is not too informative on failure.
So let's add the str represnation of the list to the assertion.
Change-Id: Iaace6ada86a5e4b3e7ef60e09748d65c009915eb
this makes passing the client optional to create_server and
create_security_group as it happens with the other utility methods
Change-Id: I56f7a4078d1da0c7b5bd7c493eb480d640be2805
test_list_hosts_with_zone() makes 2 list_hosts calls and expects that
the hosts' availability zone will remain constant between the calls.
However when running in parallel there is no guarantee of this, and
the aggregates tests will change the compute host's availability
zone. This commit adds the 'availability_zone' to the test to ensure
it doesn't run at the same time as the tests which will change the
host's availability zone.
Fixes bug 1228225
Change-Id: I14773e38b5cc35679b16940ad230c7c81aeaad9c
This commit moves LockFixture used for locking between tests out of
tempest.api.compute.admin.test_aggregates and into tempest.common.
Change-Id: I14431617c88c62b6da4383668ffa635a12c1b071
Added a test script 'test_extensions.py' to api/networks to verify
if list/show of extensions is successful in neutron. Also added
supporting methods 'list_extensions' and 'show_extension_details' in
network client for XML and JSON interfaces.
Implements blueprint: quantum-test-l2-abstraction
Change-Id: Ie939a3e1302060489b579baf2cd3f7023efbeb7d
Some files still use trademark OpenStack LLC in header, which
should be changed to OpenStack Foundation.
NOTE: tools/install_venv.py is not synced from oslo-incubator, so
it is modified too.
Change-Id: I0084684ff5225076291fea857eb010d638291bd0
Fixes-Bug: #1214176
This is needed to ensure that when using run_tests.sh requirements
are handled correctly. Both requirements.txt and test-requirements.txt
need to be handed to pip at the same time to ensure that all
dependencies are satisfied and we don't upgrade a package to be
outside of the version constraints set by requirements.txt when
installing dependencies for the packages in test-requirements.txt.
Change-Id: I89bcf4e44b7274dca535e8e1d2eeb0adb142cabb
The xml.volumes_client check to translate the bootable
setting on a volume object only checks for Upper case strings
and bools.
It turns out that this test was introduced after a bug was introduced
to cinder.api which inadvertently changed the type used to set this
member field. We now have a patch to fix this and put it back to "true/false"
(lc strings) but since the change there's a tempest test that verifies this.
This patch will check for string true/false either lc or uc, and will
keep the bool check in place as well (otherwise everything will fail).
This test did such a great job we should consider removing the other options
for true/false representations which would've caught the original error introduced
in Cinder (reference cinder lp# 1227837.
Fixes bug: 1227858
Change-Id: I8a4b1f4ce3a6a420e8152ea8c66a9b3fc127fe96
Add tempest tests for nova api 'os-host/{host-name}' which is used
to expose detail host information such cpu/memory/disk.
Change-Id: I7e164c9f584ce70d6bd467575dc1798f0a53bcee
This patchset skips test_token test due to the change of 401 response
for an invalid token to a 404 response. Keystone bug 1221889.
Once the change to keystone has been accepted, a subsequent patchset
will be proposed to tempest to renable the check and accept the new
404 HTTP status for the get_token call on invalid tokens.
related-bug: 1221889
Change-Id: I3c5691f5085e10e28b0f57505133ae3478167396
Test cases for health monitoring (load balancer) were missing.
I have added list, show, create, update, delete,associate, disassociate
test cases fot health monitoring.
Change-Id: If123d9bf8f11babc760ca8fbcbc0d6c9931d138b
Testcases for LB member operation were missing.
I have added LB member create, delete, update, list and show test cases.
Also xml support for the same is provided.
Change-Id: I0db9a6724856afebbc272f43fc3801cdaf3061e5