diff options
author | boucherv <valentin.boucher@orange.com> | 2016-01-15 16:37:47 +0100 |
---|---|---|
committer | boucherv <valentin.boucher@orange.com> | 2016-01-15 16:37:47 +0100 |
commit | f4aa5fbebff139543acb891d9d38c9f8fa864cda (patch) | |
tree | fc2612ed664882eadfe29878d7cb4a2d98396f78 | |
parent | 4944fc05739b7062bcae032260e5d83ba1076d3a (diff) |
bugfix: update cinder quota strange space
Change-Id: I984be5267a3492c4d3b5922a982aed0ad94e7c5b
Signed-off-by: boucherv <valentin.boucher@orange.com>
-rw-r--r-- | testcases/functest_utils.py | 2 | ||||
-rw-r--r-- | testcases/vIMS/CI/vIMS.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/testcases/functest_utils.py b/testcases/functest_utils.py index a104182b5..baab415d9 100644 --- a/testcases/functest_utils.py +++ b/testcases/functest_utils.py @@ -344,7 +344,7 @@ def update_cinder_quota(cinder_client, tenant_id, vols_quota, "gigabytes": gigabytes_quota} try: - quotas_default = cinder_client. quotas.update(tenant_id, + quotas_default = cinder_client.quotas.update(tenant_id, **quotas_values) return True except: diff --git a/testcases/vIMS/CI/vIMS.py b/testcases/vIMS/CI/vIMS.py index 7a2d1979a..eae821ad4 100644 --- a/testcases/vIMS/CI/vIMS.py +++ b/testcases/vIMS/CI/vIMS.py @@ -291,7 +291,7 @@ def main(): creds_cinder['project_id'], creds_cinder['auth_url'], service_type="volume") - if not functest_utils.update_cinder_quota(cinder_client, tenant_id, 20, 50, 1500): + if not functest_utils.update_cinder_quota(cinder_client, tenant_id, 20, 10, 150): logger.error("Failed to update cinder quota for tenant %s" % TENANT_NAME) exit(-1) |