From 790601bb0ae63826cc58f06ecdd7872c7519ca1d Mon Sep 17 00:00:00 2001 From: qingsenLi Date: Fri, 22 Feb 2019 12:02:31 +0800 Subject: [PATCH] remove some unused const in test/e2e_node --- test/e2e_node/device_plugin.go | 3 +-- test/e2e_node/gpu_device_plugin.go | 4 ---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/test/e2e_node/device_plugin.go b/test/e2e_node/device_plugin.go index 2c296be85bb..138100a8153 100644 --- a/test/e2e_node/device_plugin.go +++ b/test/e2e_node/device_plugin.go @@ -41,8 +41,7 @@ import ( const ( // fake resource name - resourceName = "fake.com/resource" - resourceNameWithProbeSupport = "fake.com/resource2" + resourceName = "fake.com/resource" ) // Serial because the test restarts Kubelet diff --git a/test/e2e_node/gpu_device_plugin.go b/test/e2e_node/gpu_device_plugin.go index 4d2a84ee4c6..8b2a1798cdb 100644 --- a/test/e2e_node/gpu_device_plugin.go +++ b/test/e2e_node/gpu_device_plugin.go @@ -32,10 +32,6 @@ import ( "github.com/prometheus/common/model" ) -const ( - testPodNamePrefix = "nvidia-gpu-" -) - // Serial because the test restarts Kubelet var _ = framework.KubeDescribe("NVIDIA GPU Device Plugin [Feature:GPUDevicePlugin][NodeFeature:GPUDevicePlugin][Serial] [Disruptive]", func() { f := framework.NewDefaultFramework("device-plugin-gpus-errors")