@@ -58,7 +58,7 @@ func TestDefault(t *testing.T) {
5858 Replicas (10 ).
5959 Queue ("test-queue" ).
6060 PodTemplateSpecQueue ("test-queue" ).
61- PodTemplateSpecLabel (pod .SuspendedByParentLabelKey , FrameworkName ).
61+ PodTemplateAnnotation (pod .SuspendedByParentAnnotation , FrameworkName ).
6262 PodTemplateSpecPodGroupNameLabel ("test-pod" , "" , gvk ).
6363 PodTemplateSpecPodGroupTotalCountAnnotation (10 ).
6464 PodTemplateSpecPodGroupFastAdmissionAnnotation (true ).
@@ -76,7 +76,7 @@ func TestDefault(t *testing.T) {
7676 PodTemplateSpecPodGroupNameLabel ("test-pod" , "" , gvk ).
7777 PodTemplateSpecPodGroupTotalCountAnnotation (1 ).
7878 PodTemplateSpecQueue ("test-queue" ).
79- PodTemplateSpecLabel (pod .SuspendedByParentLabelKey , FrameworkName ).
79+ PodTemplateAnnotation (pod .SuspendedByParentAnnotation , FrameworkName ).
8080 PodTemplateSpecPodGroupFastAdmissionAnnotation (true ).
8181 PodTemplateSpecPodGroupServingAnnotation (true ).
8282 PodTemplateSpecPodGroupPodIndexLabelAnnotation (appsv1 .PodIndexLabel ).
@@ -89,7 +89,7 @@ func TestDefault(t *testing.T) {
8989 want : testingstatefulset .MakeStatefulSet ("test-pod" , "default" ).
9090 Queue ("default" ).
9191 PodTemplateSpecQueue ("default" ).
92- PodTemplateSpecLabel (pod .SuspendedByParentLabelKey , FrameworkName ).
92+ PodTemplateAnnotation (pod .SuspendedByParentAnnotation , FrameworkName ).
9393 PodTemplateSpecPodGroupNameLabel ("test-pod" , "" , gvk ).
9494 PodTemplateSpecPodGroupTotalCountAnnotation (1 ).
9595 PodTemplateSpecPodGroupFastAdmissionAnnotation (true ).
@@ -104,7 +104,7 @@ func TestDefault(t *testing.T) {
104104 want : testingstatefulset .MakeStatefulSet ("test-pod" , "" ).
105105 Queue ("test-queue" ).
106106 PodTemplateSpecQueue ("test-queue" ).
107- PodTemplateSpecLabel (pod .SuspendedByParentLabelKey , FrameworkName ).
107+ PodTemplateAnnotation (pod .SuspendedByParentAnnotation , FrameworkName ).
108108 PodTemplateSpecPodGroupNameLabel ("test-pod" , "" , gvk ).
109109 PodTemplateSpecPodGroupTotalCountAnnotation (1 ).
110110 PodTemplateSpecPodGroupFastAdmissionAnnotation (true ).
0 commit comments