[Tempest] Bump tempest version

Fix small incompatibility that left to be done and bump Tempest version
to unblock our CI jobs.

Also, remove temporary fix [1] that was done for unblocking CI.

[1] I44655c83cc5588c5b94d0fad81162dd0c238b5b4

Change-Id: I12e2652638ba26833f9365f06fa84a98ca24765c
This commit is contained in:
Valeriy Ponomaryov 2016-06-07 17:49:31 +03:00
parent 82a571c486
commit e2aecad547
4 changed files with 6 additions and 10 deletions

View File

@ -1,6 +1,6 @@
# Environment variables # 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. # created vm's in scenario tests.
echo 'ENABLE_ISOLATED_METADATA=True' >> $localrc_path 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_USE_TEST_ACCOUNTS=True" >> $localrc_path
echo "TEMPEST_ALLOW_TENANT_ISOLATION=False" >> $localrc_path echo "TEMPEST_ALLOW_TENANT_ISOLATION=False" >> $localrc_path
echo "TEMPEST_CONCURRENCY=8" >> $localrc_path echo "TEMPEST_CONCURRENCY=8" >> $localrc_path

View File

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

View File

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