Merge "[Tempest] Bump tempest version"

This commit is contained in:
Jenkins 2016-06-08 18:55:56 +00:00 committed by Gerrit Code Review
commit 3dfc4dcb2f
4 changed files with 6 additions and 10 deletions

View File

@ -1,6 +1,6 @@
# Environment variables
export MANILA_TEMPEST_COMMIT="aff9cc07" # 10 May, 2016
export MANILA_TEMPEST_COMMIT="df784408" # 7 June, 2016
# ----------------------------------------------

View File

@ -96,10 +96,6 @@ echo "MANILA_SERVICE_IMAGE_ENABLED=$MANILA_SERVICE_IMAGE_ENABLED" >> $localrc_pa
# created vm's in scenario tests.
echo 'ENABLE_ISOLATED_METADATA=True' >> $localrc_path
# Workaround for broken CI, see bug #1589964.
cd $BASE/new/neutron-fwaas
git revert --no-edit a59df892d3f90f97c967a46b6c18e595d60a9b85
echo "TEMPEST_USE_TEST_ACCOUNTS=True" >> $localrc_path
echo "TEMPEST_ALLOW_TENANT_ISOLATION=False" >> $localrc_path
echo "TEMPEST_CONCURRENCY=8" >> $localrc_path

View File

@ -175,8 +175,7 @@ class BaseSharesTest(test.BaseTestCase):
identity_version=CONF.identity.auth_version,
name=name,
admin_role=CONF.identity.admin_role,
admin_creds=common_creds.get_configured_credentials(
'identity_admin'))
admin_creds=common_creds.get_configured_admin_credentials())
if "admin" in type_of_creds:
creds = ic.get_admin_creds()
elif "alt" in type_of_creds:
@ -315,8 +314,8 @@ class BaseSharesTest(test.BaseTestCase):
identity_version=CONF.identity.auth_version,
name=service_net_name,
admin_role=CONF.identity.admin_role,
admin_creds=common_creds.get_configured_credentials(
'identity_admin'))
admin_creds=(
common_creds.get_configured_admin_credentials()))
net_data = ic._create_network_resources(sc.tenant_id)
network, subnet, router = net_data
net_id = network["id"]

View File

@ -16,6 +16,7 @@
from oslo_log import log as logging
from tempest import config # noqa
from tempest.lib.common.utils import data_utils
from tempest.lib.common.utils import test_utils
from tempest.lib import exceptions
from tempest import test # noqa
@ -83,7 +84,7 @@ class ShareBasicOpsBase(manager.ShareScenarioTest):
# Obtain a floating IP
floating_ip = (self.compute_floating_ips_client.create_floating_ip()
['floating_ip'])
self.addCleanup(self.delete_wrapper,
self.addCleanup(test_utils.call_and_ignore_notfound_exc,
self.compute_floating_ips_client.delete_floating_ip,
floating_ip['id'])
# Attach a floating IP