Skip to content

Commit 6cd0adf

Browse files
CherryPicked: [cnv-4.18] Storage: Replace unprivileged_client with admin_client in storage checkups test (#2774)
cherry-pick #2764 into cnv-4.18 requested-by kshvaika Co-authored-by: Kate Shvaika <[email protected]>
1 parent a0394bc commit 6cd0adf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/storage/checkups/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def checkup_configmap(checkups_namespace):
110110

111111
@pytest.fixture(scope="function")
112112
def checkup_job(
113-
unprivileged_client,
113+
admin_client,
114114
request,
115115
checkups_namespace,
116116
checkup_image_url,
@@ -139,7 +139,7 @@ def checkup_job(
139139
restart_policy="Never",
140140
backoff_limit=0,
141141
containers=containers,
142-
client=unprivileged_client,
142+
client=admin_client,
143143
) as job:
144144
try:
145145
job.wait_for_condition(
@@ -149,7 +149,7 @@ def checkup_job(
149149
)
150150
except TimeoutExpiredError:
151151
job_pods = get_pods(
152-
dyn_client=unprivileged_client,
152+
dyn_client=admin_client,
153153
namespace=checkups_namespace,
154154
label=f"job-name={job.name}",
155155
)

0 commit comments

Comments
 (0)