Skip to content

Commit 186f80c

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Update ImageQuotaTest with force_tenant_isolation"
2 parents 8ef9a4d + b92ac09 commit 186f80c

3 files changed

Lines changed: 15 additions & 6 deletions

File tree

tempest/scenario/test_unified_limits.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@
3131
class ImageQuotaTest(manager.ScenarioTest):
3232
credentials = ['primary', 'system_admin']
3333

34+
# Dynamic credentials (unique tenants) are created on a per-class basis, so
35+
# we test different quota limits in separate test classes to prevent a
36+
# quota limit update in one test class from affecting a test running in
37+
# another test class in parallel.
38+
# https://docs.openstack.org/tempest/latest/configuration.html#dynamic-credentials
39+
force_tenant_isolation = True
40+
3441
@classmethod
3542
def skip_checks(cls):
3643
super(ImageQuotaTest, cls).skip_checks()

zuul.d/project.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,12 @@
120120
irrelevant-files: *tempest-irrelevant-files
121121
- tempest-full-preprov-creds:
122122
irrelevant-files: *tempest-irrelevant-files
123+
# NOTE(gmaan) Run tempest-full-preprov-creds-no-admin only in
124+
# check pipeline. We run tempest-full-preprov-creds jobs in both
125+
# (check and gate) pipeline so we do not need to run no-admin
126+
# job in both place.
127+
- tempest-full-preprov-creds-no-admin:
128+
irrelevant-files: *tempest-irrelevant-files
123129
- ironic-tempest-bios-ipmi-autodetect:
124130
irrelevant-files: *tempest-irrelevant-files
125131
- openstack-tox-bashate:
@@ -185,8 +191,6 @@
185191
irrelevant-files: *tempest-irrelevant-files
186192
- tempest-centos9-stream-fips:
187193
irrelevant-files: *tempest-irrelevant-files
188-
- tempest-full-test-account-no-admin-py3:
189-
irrelevant-files: *tempest-irrelevant-files
190194
# Run stable releases jobs except those are running in check
191195
# pipeline already
192196
- tempest-full-2025-2
@@ -225,4 +229,3 @@
225229
- tempest-centos9-stream-fips
226230
- tempest-full-centos-9-stream
227231
- tempest-full-rocky
228-
- tempest-full-test-account-no-admin-py3

zuul.d/tempest-specific.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,13 @@
8888
timeout: 5000
8989

9090
- job:
91-
name: tempest-full-test-account-no-admin-py3
91+
name: tempest-full-preprov-creds-no-admin
9292
parent: tempest-full-preprov-creds
9393
description: |
9494
This job runs the full set of tempest tests using pre-provisioned
95-
credentials and py3 without having an admin account.
95+
credentials without having an admin account.
9696
Former name for this job was:
9797
- legacy-tempest-dsvm-neutron-full-non-admin
98-
9998
vars:
10099
devstack_localrc:
101100
TEMPEST_HAS_ADMIN: False

0 commit comments

Comments
 (0)