mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-16 07:13:53 +00:00
e2e_node: mark CDI test as NodeSpecialFeature
This test depends on CDI support in a runtime and doesn't work with the out-of-the box Containerd. Marking it as a NodeSpecialFeature should fix Containerd CI job failures.
This commit is contained in:
parent
191abe34b8
commit
69b9d50f9d
@ -242,7 +242,7 @@ func testDevicePlugin(f *framework.Framework, pluginSockDir string) {
|
||||
gomega.Expect(v1ResourcesForOurPod.Containers[0].Devices[0].DeviceIds).To(gomega.HaveLen(1))
|
||||
})
|
||||
|
||||
ginkgo.It("can make a CDI device accessible in a container", func(ctx context.Context) {
|
||||
ginkgo.It("[NodeSpecialFeature:CDI] can make a CDI device accessible in a container", func(ctx context.Context) {
|
||||
e2eskipper.SkipUnlessFeatureGateEnabled(features.DevicePluginCDIDevices)
|
||||
// check if CDI_DEVICE env variable is set
|
||||
// and only one correspondent device node /tmp/<CDI_DEVICE> is available inside a container
|
||||
|
Loading…
Reference in New Issue
Block a user