From 1a3fbf1f13a28f3102edc43ab2dca95471453cd8 Mon Sep 17 00:00:00 2001 From: Renaud Gaubert Date: Fri, 16 Nov 2018 23:56:34 +0100 Subject: [PATCH] Update e2e tests to include CSI --- pkg/kubelet/util/pluginwatcher/BUILD | 1 - test/e2e/testing-manifests/storage-csi/gce-pd/node_ds.yaml | 2 +- .../storage-csi/hostpath/hostpath/csi-hostpathplugin.yaml | 2 +- test/e2e_node/device_plugin.go | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/pkg/kubelet/util/pluginwatcher/BUILD b/pkg/kubelet/util/pluginwatcher/BUILD index 23c6efa67bd..5f4e61e5e54 100644 --- a/pkg/kubelet/util/pluginwatcher/BUILD +++ b/pkg/kubelet/util/pluginwatcher/BUILD @@ -29,7 +29,6 @@ go_test( embed = [":go_default_library"], deps = [ "//pkg/kubelet/apis/pluginregistration/v1:go_default_library", - "//vendor/github.com/fsnotify/fsnotify:go_default_library", "//vendor/github.com/stretchr/testify/require:go_default_library", "//vendor/k8s.io/klog:go_default_library", ], diff --git a/test/e2e/testing-manifests/storage-csi/gce-pd/node_ds.yaml b/test/e2e/testing-manifests/storage-csi/gce-pd/node_ds.yaml index 5f2f1ddd330..0ed8af14999 100644 --- a/test/e2e/testing-manifests/storage-csi/gce-pd/node_ds.yaml +++ b/test/e2e/testing-manifests/storage-csi/gce-pd/node_ds.yaml @@ -60,7 +60,7 @@ spec: volumes: - name: registration-dir hostPath: - path: /var/lib/kubelet/plugins/ + path: /var/lib/kubelet/plugins_registry/ type: Directory - name: kubelet-dir hostPath: diff --git a/test/e2e/testing-manifests/storage-csi/hostpath/hostpath/csi-hostpathplugin.yaml b/test/e2e/testing-manifests/storage-csi/hostpath/hostpath/csi-hostpathplugin.yaml index 4df7cea194d..2c66e11eca0 100644 --- a/test/e2e/testing-manifests/storage-csi/hostpath/hostpath/csi-hostpathplugin.yaml +++ b/test/e2e/testing-manifests/storage-csi/hostpath/hostpath/csi-hostpathplugin.yaml @@ -65,6 +65,6 @@ spec: type: DirectoryOrCreate name: mountpoint-dir - hostPath: - path: /var/lib/kubelet/plugins + path: /var/lib/kubelet/plugins_registry type: Directory name: registration-dir diff --git a/test/e2e_node/device_plugin.go b/test/e2e_node/device_plugin.go index 3951f8c538b..3adde198716 100644 --- a/test/e2e_node/device_plugin.go +++ b/test/e2e_node/device_plugin.go @@ -53,7 +53,7 @@ var _ = framework.KubeDescribe("Device Plugin [Feature:DevicePlugin][NodeFeature var _ = framework.KubeDescribe("Device Plugin [Feature:DevicePluginProbe][NodeFeature:DevicePluginProbe][Serial]", func() { f := framework.NewDefaultFramework("device-plugin-errors") - testDevicePlugin(f, true, "/var/lib/kubelet/plugins/") + testDevicePlugin(f, true, "/var/lib/kubelet/plugins_registry") }) func testDevicePlugin(f *framework.Framework, enablePluginWatcher bool, pluginSockDir string) {