Skip to content

Commit 075e42f

Browse files
authored
fix: need to specify ns for async_job, otherwise jenkins pipeline impacts the run (kubeflow#2628)
Signed-off-by: Debarati Basu-Nag <dbasunag@redhat.com>
1 parent 244666c commit 075e42f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

jobs/async-upload/tests/integration/test_integration_async_upload.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def apply_job_with_strategic_merge(
211211

212212
# Apply resources using kubectl apply -k
213213
result = subprocess.run(
214-
["kubectl", "apply", "-k", "."],
214+
["kubectl", "apply", "-k", ".", "-n", "default"],
215215
capture_output=True,
216216
text=True,
217217
cwd=manifest_dir,
@@ -224,7 +224,7 @@ def apply_job_with_strategic_merge(
224224
# Describe job
225225
print("Applied Job:")
226226
result = subprocess.run(
227-
["kubectl", "describe", "jobs/my-async-upload-job"],
227+
["kubectl", "describe", "jobs/my-async-upload-job", "-n", "default"],
228228
capture_output=True,
229229
text=True,
230230
cwd=manifest_dir,

0 commit comments

Comments
 (0)