mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-01-27 10:19:35 +00:00
added WithFlaky() to the device plugin test case: supports extended resources together with ResourceClaim
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user