mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 12:07:47 +00:00
Merge pull request #121557 from bart0sh/PR126-e2e-mark-CDI-test-as-NodeSpecialFeature
e2e_node: mark CDI test as NodeSpecialFeature
This commit is contained in:
commit
f4f5d07f4b
@ -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