From ad3083b51e570036e134698e6c7393565f416c74 Mon Sep 17 00:00:00 2001 From: Paco Xu Date: Thu, 22 Sep 2022 10:06:48 +0800 Subject: [PATCH] LocalStorageCapacityIsolationFSQuotaMonitoring: feature gate typo in e2e node test --- test/e2e_node/quota_lsci_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/e2e_node/quota_lsci_test.go b/test/e2e_node/quota_lsci_test.go index b2e03285f9b..8e9ae737157 100644 --- a/test/e2e_node/quota_lsci_test.go +++ b/test/e2e_node/quota_lsci_test.go @@ -21,7 +21,7 @@ import ( "path/filepath" "time" - "k8s.io/api/core/v1" + v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/kubernetes/pkg/features" @@ -63,7 +63,7 @@ func runOneQuotaTest(f *framework.Framework, quotasRequested bool) { if quotasRequested && !supportsQuotas("/var/lib/kubelet") { // No point in running this as a positive test if quotas are not // enabled on the underlying filesystem. - e2eskipper.Skipf("Cannot run LocalStorageCapacityIsolationQuotaMonitoring on filesystem without project quota enabled") + e2eskipper.Skipf("Cannot run LocalStorageCapacityIsolationFSQuotaMonitoring on filesystem without project quota enabled") } // setting a threshold to 0% disables; non-empty map overrides default value (necessary due to omitempty) initialConfig.EvictionHard = map[string]string{"memory.available": "0%"} @@ -90,12 +90,12 @@ func runOneQuotaTest(f *framework.Framework, quotasRequested bool) { }) } -// LocalStorageCapacityIsolationQuotaMonitoring tests that quotas are +// LocalStorageCapacityIsolationFSQuotaMonitoring tests that quotas are // used for monitoring rather than du. The mechanism is to create a // pod that creates a file, deletes it, and writes data to it. If // quotas are used to monitor, it will detect this deleted-but-in-use // file; if du is used to monitor, it will not detect this. -var _ = SIGDescribe("LocalStorageCapacityIsolationQuotaMonitoring [Slow] [Serial] [Disruptive] [Feature:LocalStorageCapacityIsolationQuota][NodeFeature:LSCIQuotaMonitoring]", func() { +var _ = SIGDescribe("LocalStorageCapacityIsolationFSQuotaMonitoring [Slow] [Serial] [Disruptive] [Feature:LocalStorageCapacityIsolationQuota][NodeFeature:LSCIQuotaMonitoring]", func() { f := framework.NewDefaultFramework("localstorage-quota-monitoring-test") f.NamespacePodSecurityEnforceLevel = admissionapi.LevelPrivileged runOneQuotaTest(f, true)