From 3463c2dfa97bf03c956dbde7581aab366dbe0393 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Tue, 3 Aug 2021 08:48:44 -0400 Subject: [PATCH] Skip NVidia GPU test in node e2e CI jobs for containerd and other runtimes Signed-off-by: Davanum Srinivas --- test/e2e_node/gpu_device_plugin_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/e2e_node/gpu_device_plugin_test.go b/test/e2e_node/gpu_device_plugin_test.go index 4d98df94657..95423a9d0b4 100644 --- a/test/e2e_node/gpu_device_plugin_test.go +++ b/test/e2e_node/gpu_device_plugin_test.go @@ -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)