mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 05:57:25 +00:00
Merge pull request #109025 from alculquicondor/smaller-job-integration-load
Reduce number of pods in Job+GC tests
This commit is contained in:
commit
ef45c99506
@ -540,7 +540,7 @@ func TestOrphanPodsFinalizersClearedWithGC(t *testing.T) {
|
||||
|
||||
jobObj, err := createJobWithDefaults(ctx, clientSet, ns.Name, &batchv1.Job{
|
||||
Spec: batchv1.JobSpec{
|
||||
Parallelism: pointer.Int32Ptr(5),
|
||||
Parallelism: pointer.Int32Ptr(2),
|
||||
},
|
||||
})
|
||||
if err != nil {
|
||||
@ -550,7 +550,7 @@ func TestOrphanPodsFinalizersClearedWithGC(t *testing.T) {
|
||||
t.Error("apiserver didn't add the tracking annotation")
|
||||
}
|
||||
validateJobPodsStatus(ctx, t, clientSet, jobObj, podsByStatus{
|
||||
Active: 5,
|
||||
Active: 2,
|
||||
}, true)
|
||||
|
||||
// Delete Job. The GC should delete the pods in cascade.
|
||||
|
Loading…
Reference in New Issue
Block a user