@@ -475,6 +475,7 @@ var _ = SIGDescribe("PriorityPidEvictionOrdering", framework.WithSlow(), framewo
475
475
476
476
highPriorityClassName := f .BaseName + "-high-priority"
477
477
highPriority := int32 (999999999 )
478
+ processes := 30000
478
479
479
480
ginkgo .Context (fmt .Sprintf (testContextFmt , expectedNodeCondition ), func () {
480
481
tempSetCurrentKubeletConfig (f , func (ctx context.Context , initialConfig * kubeletconfig.KubeletConfiguration ) {
@@ -497,15 +498,15 @@ var _ = SIGDescribe("PriorityPidEvictionOrdering", framework.WithSlow(), framewo
497
498
specs := []podEvictSpec {
498
499
{
499
500
evictionPriority : 2 ,
500
- pod : pidConsumingPod ("fork-bomb-container-with-low-priority" , 12000 ),
501
+ pod : pidConsumingPod ("fork-bomb-container-with-low-priority" , processes ),
501
502
},
502
503
{
503
504
evictionPriority : 0 ,
504
505
pod : innocentPod (),
505
506
},
506
507
{
507
508
evictionPriority : 1 ,
508
- pod : pidConsumingPod ("fork-bomb-container-with-high-priority" , 12000 ),
509
+ pod : pidConsumingPod ("fork-bomb-container-with-high-priority" , processes ),
509
510
},
510
511
}
511
512
specs [1 ].pod .Spec .PriorityClassName = highPriorityClassName
@@ -524,7 +525,7 @@ var _ = SIGDescribe("PriorityPidEvictionOrdering", framework.WithSlow(), framewo
524
525
specs := []podEvictSpec {
525
526
{
526
527
evictionPriority : 1 ,
527
- pod : pidConsumingPod ("fork-bomb-container" , 30000 ),
528
+ pod : pidConsumingPod ("fork-bomb-container" , processes ),
528
529
wantPodDisruptionCondition : ptr .To (v1 .DisruptionTarget ),
529
530
},
530
531
}
0 commit comments