Merge pull request #104100 from dims/skip-nvidia-gpu-test-in-node-e2e-ci-jobs-for-non-docker-runtimes

Skip NVidia GPU test in node e2e CI jobs for containerd and other runtimes
This commit is contained in:
Kubernetes Prow Robot 2021-08-05 06:09:34 -07:00 committed by GitHub
commit 25fae1d686
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -77,6 +77,10 @@ var _ = SIGDescribe("NVIDIA GPU Device Plugin [Feature:GPUDevicePlugin][NodeFeat
ginkgo.Skip("Nvidia GPUs do not exist on the node. Skipping test.")
}
if framework.TestContext.ContainerRuntime != "docker" {
ginkgo.Skip("Test works only with in-tree dockershim. Skipping test.")
}
ginkgo.By("Creating the Google Device Plugin pod for NVIDIA GPU in GKE")
devicePluginPod, err = f.ClientSet.CoreV1().Pods(metav1.NamespaceSystem).Create(context.TODO(), NVIDIADevicePlugin(), metav1.CreateOptions{})
framework.ExpectNoError(err)