From e73edf7764fc365e91549a123959c26be1678e91 Mon Sep 17 00:00:00 2001 From: Dejan Pejchev Date: Tue, 17 Oct 2023 18:15:55 +0200 Subject: [PATCH] fix: typo in indexed & non-indexed completion policies for failed pod replacement policy integration tests --- test/integration/job/job_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/job/job_test.go b/test/integration/job/job_test.go index c3bc18ccc2c..4638e4e5778 100644 --- a/test/integration/job/job_test.go +++ b/test/integration/job/job_test.go @@ -1719,7 +1719,7 @@ func TestJobPodReplacementPolicy(t *testing.T) { jobSpec: &batchv1.JobSpec{ Parallelism: pointer.Int32Ptr(podCount), Completions: pointer.Int32Ptr(podCount), - CompletionMode: &nonIndexedCompletion, + CompletionMode: &indexedCompletion, PodReplacementPolicy: podReplacementPolicy(batchv1.Failed), }, wantTerminating: pointer.Int32(podCount), @@ -1763,7 +1763,7 @@ func TestJobPodReplacementPolicy(t *testing.T) { jobSpec: &batchv1.JobSpec{ Parallelism: pointer.Int32Ptr(podCount), Completions: pointer.Int32Ptr(podCount), - CompletionMode: &nonIndexedCompletion, + CompletionMode: &indexedCompletion, PodReplacementPolicy: podReplacementPolicy(batchv1.Failed), }, wantActive: int(podCount),