@@ -53,12 +53,28 @@ var _ = Describe("AppWrapper E2E Test", func() {
5353 appwrappers = append (appwrappers , aw )
5454 Expect (waitAWPodsReady (ctx , aw )).Should (Succeed ())
5555 })
56- // TODO: Batch v1.Jobs
56+ It ("Batch Jobs" , func () {
57+ aw := createAppWrapper (ctx , batchjob (250 ))
58+ appwrappers = append (appwrappers , aw )
59+ Expect (waitAWPodsReady (ctx , aw )).Should (Succeed ())
60+ })
61+
5762 It ("Mixed Basic Resources" , func () {
58- aw := createAppWrapper (ctx , pod (100 ), deployment (2 , 100 ), statefulset (2 , 100 ), service ())
63+ aw := createAppWrapper (ctx , pod (100 ), deployment (2 , 100 ), statefulset (2 , 100 ), service (), batchjob (100 ))
64+ appwrappers = append (appwrappers , aw )
65+ Expect (waitAWPodsReady (ctx , aw )).Should (Succeed ())
66+ })
67+ })
68+
69+ Describe ("Creation of Kubeflow Training Operator GVKs" , func () {
70+ It ("PyTorch Jobs" , func () {
71+ aw := createAppWrapper (ctx , pytorchjob (1 , 100 , 2 , 250 ))
5972 appwrappers = append (appwrappers , aw )
6073 Expect (waitAWPodsReady (ctx , aw )).Should (Succeed ())
6174 })
75+
76+ // TODO: Additional Kubeflow Training Operator GVKs of interest
77+
6278 })
6379
6480 Describe ("Error Handling for Invalid Resources" , func () {
@@ -90,6 +106,15 @@ var _ = Describe("AppWrapper E2E Test", func() {
90106
91107 })
92108
109+ Describe ("Recognition of Child Jobs" , func () {
110+ // TODO: Test scenarios where the AW "just fits" in the quota and
111+ // contains components that Kueue might try to queue
112+ // but should not in this case because they are using the parent workload's quota
113+ // 1. batch v1 jobs
114+ // 2. pytorch jobs (which themself contain child Jobs)
115+
116+ })
117+
93118 Describe ("Detection of Completion Status" , func () {
94119
95120 })
0 commit comments