The test_list_servers_by_changes_since test fails when running with
allow_tenant_isolation=false because there is an arbitrary 2 minutes to
determine the timedelta for the changes-since in the query. That doesn't
work when the servers created in the test are all under the same
user/tenant because the tearDown doesn't block until the servers are
deleted.
This patch makes the timedelta code smarter in that it narrows the
changes-since down to when the test case started setting up the servers
for the test and when it does the query.
Closes-Bug: #1195309
Change-Id: Ie848637ea490da2151e5db8292726111d45a8c2d
add an expected behaviour test of deleting server
- delete_active_server
add two negative tests for server unpausing
- unpause_non_existent_server
- unpause_server_invalid_state
Change-Id: Ia9b5fdf1c2298ff685322fc99a5496710a7a67ef
This reverts commit 60100a3eaec620a8b9946b3378caed6c23122310.
Given the current state of non-deterministic failures in the gate
right now bringing this test back for debugging the failure is just
adding fuel to the fire. We should wait for things to stabilize
again before removing the skip.
Change-Id: Iff5fb31074ddf7dc0e9320ac19ac71fa451a8820
The previous github HACKING.rst doesn't exist anymore, so this commit
just updates the link in tempest's HACKING.rst to point it to the
correct location.
Change-Id: If49f938528ac9059a8e1983b281081fc6137b700
Now that the API results in a 404 for an invalid x-subject-token
and a 401 for an invalid x-auth-token, we need to update the expected
resulting HTTP Status from 401 to 404 in the test_tokens test.
closes-bug: 1221889
Change-Id: I158c968c1948ee658305e9ec484425d98f187cba
keystone catalog output, when using the non-sql "catalog"
backend, does not contain an id attribute. So don't require
it. Checking for publicURL is probably a good idea instead.
Change-Id: I5f302cf09eeac77b3f448a4e16a3bd97b7bcaaa4
first_private_address no longer exists in OS::Nova::Server
as it was a misconceived feature.
Change-Id: Id1a0eeca1bf3b57c27e6b93ae64e11d3de9b771e
Related-Bug: #1228929
The heat slow test NeutronResourcesTestJSON is causing problems
for the other heat tests when run concurrenty.
Because NeutronResourcesTestJSON creates a network and the other tests
do not specify any, an amibiguity is created. This means that nova
server creation fails due to not knowing which network to attach to.
This change explicity launches servers with the network specified in
config compute.fixed_network_name.
This may mean that these tests cannot be run with nova networking.
This is most likely not a problem as there are currently no plans
to gate heat-slow tests on nova networking.
Change-Id: I16d50271a36c9bc9d0c4fb0588ae75ba100b145f
1. Don't simply return, if one node is clean or not clean.
2. It's better to log all errors and return all errors.
Change-Id: Ib0e23bff013836347f90bed50dd1d3a9566e6bad
Close-Bug: #1229957
This commit just bumps the minimum version requirement for
oslo.config. Version 1.2.0 has been released so we should keep
tempest's required version in sync with the other projects.
Change-Id: Ie78070a9fe0759c30fb84ac892a257e0c5cbf246
If tempest_client is unset, _get_tenant_by_name will
definitely raise an exception, which is incorrect.
Change-Id: Id3e452a35d4f6c7083562689f556cac05868af45
Closes-Bug: #1231645
Remove the redundant line, to make sure _create_creds use
the same rand_name within the function. This make debug easier
Change-Id: I2ff6b729107c4efa5cb365310f4677282b026148
The patch moves away the single test existing from
test_object_services.py to its own file.
It then adds more tests to validate other HTTP
verbs like PUT and HEAD.
blueprint test-swift-tempurl-middleware
Change-Id: I1d7b021e8e3749b58a9fa657c709fb7154bd104e