From 3c91eba80c35d85ae3669660baac3eb0e9376a92 Mon Sep 17 00:00:00 2001 From: Kevin Hannon Date: Thu, 19 Mar 2026 15:36:38 -0400 Subject: [PATCH] test: Fix PodGroup CRUD test failing due to missing Workload reference Remove PodGroupTemplateRef from the PodGroup e2e CRUD test. The PodGroupWorkloadExists admission plugin (introduced in #137464) rejects PodGroups that reference a non-existent Workload, causing the test to fail. The workload reference is not needed to test basic PodGroup API CRUD operations. --- test/e2e/scheduling/workload.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/e2e/scheduling/workload.go b/test/e2e/scheduling/workload.go index dd66131f37c..a9e0553d538 100644 --- a/test/e2e/scheduling/workload.go +++ b/test/e2e/scheduling/workload.go @@ -83,12 +83,6 @@ var _ = SIGDescribe("Workload", framework.WithFeatureGate(features.GenericWorklo Namespaced: new(true), InitialSpec: &schedulingv1alpha2.PodGroup{ Spec: schedulingv1alpha2.PodGroupSpec{ - PodGroupTemplateRef: &schedulingv1alpha2.PodGroupTemplateReference{ - Workload: &schedulingv1alpha2.WorkloadPodGroupTemplateReference{ - PodGroupTemplateName: "pg1", - WorkloadName: "w1", - }, - }, SchedulingPolicy: schedulingv1alpha2.PodGroupSchedulingPolicy{ Gang: &schedulingv1alpha2.GangSchedulingPolicy{ MinCount: 5,