@@ -476,12 +476,13 @@ done`}
476
476
})
477
477
478
478
/*
479
- Testcase: Ensure that job with successPolicy succeeded when all indexes succeeded
479
+ Release: v1.33
480
+ Testname: Ensure that job with successPolicy succeeded when all indexes succeeded
480
481
Description: Create an indexed job with successPolicy.
481
482
Verify that job got SuccessCriteriaMet with SuccessPolicy reason and Complete condition
482
483
once all indexes succeeded.
483
484
*/
484
- ginkgo . It ("with successPolicy should succeeded when all indexes succeeded" , func (ctx context.Context ) {
485
+ framework . ConformanceIt ("with successPolicy should succeeded when all indexes succeeded" , func (ctx context.Context ) {
485
486
parallelism := int32 (2 )
486
487
completions := int32 (2 )
487
488
backoffLimit := int32 (6 ) // default value
@@ -510,17 +511,19 @@ done`}
510
511
framework .ExpectNoError (err , "failed to get latest job object" )
511
512
gomega .Expect (job .Status .Active ).Should (gomega .Equal (int32 (0 )))
512
513
gomega .Expect (job .Status .Ready ).Should (gomega .Equal (ptr.To [int32 ](0 )))
513
- gomega .Expect (job .Status .Terminating ).Should (gomega .Equal (ptr.To [int32 ](0 )))
514
+ // TODO (https://github.com/kubernetes/enhancements/issues/3939): Restore the assert on .status.terminating when PodReplacementPolicy goes GA.
515
+ // gomega.Expect(job.Status.Terminating).Should(gomega.Equal(ptr.To[int32](0)))
514
516
gomega .Expect (job .Status .Failed ).Should (gomega .Equal (int32 (0 )))
515
517
})
516
518
517
519
/*
518
- Testcase: Ensure that job with successPolicy succeededIndexes rule succeeded even when some indexes remain pending
520
+ Release: v1.33
521
+ Testname: Ensure that job with successPolicy succeededIndexes rule succeeded even when some indexes remain pending
519
522
Description: Create an indexed job with successPolicy succeededIndexes rule.
520
523
Verify that the job got SuccessCriteriaMet with SuccessPolicy reason condition and Complete condition
521
524
when the job met successPolicy even if some indexed remain pending.
522
525
*/
523
- ginkgo . It ("with successPolicy succeededIndexes rule should succeeded even when some indexes remain pending" , func (ctx context.Context ) {
526
+ framework . ConformanceIt ("with successPolicy succeededIndexes rule should succeeded even when some indexes remain pending" , func (ctx context.Context ) {
524
527
parallelism := int32 (2 )
525
528
completions := int32 (5 )
526
529
backoffLimit := int32 (6 ) // default value
@@ -550,16 +553,18 @@ done`}
550
553
gomega .Expect (job .Status .CompletedIndexes ).Should (gomega .Equal ("0" ))
551
554
gomega .Expect (job .Status .Active ).Should (gomega .Equal (int32 (0 )))
552
555
gomega .Expect (job .Status .Ready ).Should (gomega .Equal (ptr.To [int32 ](0 )))
553
- gomega .Expect (job .Status .Terminating ).Should (gomega .Equal (ptr.To [int32 ](0 )))
556
+ // TODO (https://github.com/kubernetes/enhancements/issues/3939): Restore the assert on .status.terminating when PodReplacementPolicy goes GA.
557
+ // gomega.Expect(job.Status.Terminating).Should(gomega.Equal(ptr.To[int32](0)))
554
558
})
555
559
556
560
/*
557
- Testcase: Ensure that job with successPolicy succeededCount rule succeeded even when some indexes remain pending
561
+ Release: v1.33
562
+ Testname: Ensure that job with successPolicy succeededCount rule succeeded even when some indexes remain pending
558
563
Description: Create an indexed job with successPolicy succeededCount rule.
559
564
Verify that the job got the SuccessCriteriaMet with SuccessPolicy reason condition and Complete condition
560
565
when the job met successPolicy even if some indexed remain pending.
561
566
*/
562
- ginkgo . It ("with successPolicy succeededCount rule should succeeded even when some indexes remain pending" , func (ctx context.Context ) {
567
+ framework . ConformanceIt ("with successPolicy succeededCount rule should succeeded even when some indexes remain pending" , func (ctx context.Context ) {
563
568
parallelism := int32 (2 )
564
569
completions := int32 (5 )
565
570
backoffLimit := int32 (math .MaxInt32 )
@@ -589,7 +594,8 @@ done`}
589
594
gomega .Expect (job .Status .CompletedIndexes ).Should (gomega .Equal ("0" ))
590
595
gomega .Expect (job .Status .Active ).Should (gomega .Equal (int32 (0 )))
591
596
gomega .Expect (job .Status .Ready ).Should (gomega .Equal (ptr.To [int32 ](0 )))
592
- gomega .Expect (job .Status .Terminating ).Should (gomega .Equal (ptr.To [int32 ](0 )))
597
+ // TODO (https://github.com/kubernetes/enhancements/issues/3939): Restore the assert on .status.terminating when PodReplacementPolicy goes GA.
598
+ // gomega.Expect(job.Status.Terminating).Should(gomega.Equal(ptr.To[int32](0)))
593
599
})
594
600
595
601
/*
0 commit comments