diff --git a/test/e2e/dra/dra.go b/test/e2e/dra/dra.go index 5dfd2e14cd3..115a7f19030 100644 --- a/test/e2e/dra/dra.go +++ b/test/e2e/dra/dra.go @@ -921,9 +921,14 @@ var _ = framework.SIGDescribe("node")(framework.WithLabel("DRA"), func() { }).WithTimeout(f.Timeouts.PodDelete).Should(gomega.HaveField("Status.Allocation", (*resourceapi.AllocationResult)(nil))) }) + // https://github.com/kubernetes/kubernetes/issues/133488 + // It conflicts with "must run pods with extended resource on dra nodes and device plugin nodes" test case, + // because device plugin does not clean up the extended resource "example.com/resource", and kubelet still + // keeps "example.com/resource" : 0 in node.status.Capacity. + // add WithFlaky to filter out the following test until we can clean up the leaked "example.com/resource" in node.status. if withKubelet { // Serial because the example device plugin can only be deployed with one instance at a time. - f.It("supports extended resources together with ResourceClaim", f.WithSerial(), func(ctx context.Context) { + f.It("supports extended resources together with ResourceClaim", f.WithSerial(), f.WithFlaky(), func(ctx context.Context) { extendedResourceName := deployDevicePlugin(ctx, f, nodes.NodeNames[0:1]) pod := b.PodExternal()