diff --git a/test/e2e/environment/environment.go b/test/e2e/environment/environment.go index 8001e2a9855..74e14824f82 100644 --- a/test/e2e/environment/environment.go +++ b/test/e2e/environment/environment.go @@ -23,8 +23,12 @@ import ( ) var ( + // Please keep the list in alphabetical order. + // The test does not work in UserNS (for example, `open /proc/sys/kernel/shm_rmid_forced: permission denied`). NotInUserNS = framework.WithEnvironment(framework.ValidEnvironments.Add("NotInUserNS")) + + // Please keep the list in alphabetical order. ) func init() { diff --git a/test/e2e/feature/feature.go b/test/e2e/feature/feature.go index 6002f08622c..dfb632a3cb0 100644 --- a/test/e2e/feature/feature.go +++ b/test/e2e/feature/feature.go @@ -23,6 +23,8 @@ import ( ) var ( + // Please keep the list in alphabetical order. + APIServerIdentity = framework.WithFeature(framework.ValidFeatures.Add("APIServerIdentity")) AppArmor = framework.WithFeature(framework.ValidFeatures.Add("AppArmor")) BootstrapTokens = framework.WithFeature(framework.ValidFeatures.Add("BootstrapTokens")) @@ -35,6 +37,7 @@ var ( ClusterAutoscalerScalability5 = framework.WithFeature(framework.ValidFeatures.Add("ClusterAutoscalerScalability5")) ClusterAutoscalerScalability6 = framework.WithFeature(framework.ValidFeatures.Add("ClusterAutoscalerScalability6")) ClusterDowngrade = framework.WithFeature(framework.ValidFeatures.Add("ClusterDowngrade")) + ClusterScaleUpBypassScheduler = framework.WithFeature(framework.ValidFeatures.Add("ClusterScaleUpBypassScheduler")) ClusterSizeAutoscalingGpu = framework.WithFeature(framework.ValidFeatures.Add("ClusterSizeAutoscalingGpu")) ClusterSizeAutoscalingScaleDown = framework.WithFeature(framework.ValidFeatures.Add("ClusterSizeAutoscalingScaleDown")) ClusterSizeAutoscalingScaleUp = framework.WithFeature(framework.ValidFeatures.Add("ClusterSizeAutoscalingScaleUp")) @@ -132,7 +135,8 @@ var ( Windows = framework.WithFeature(framework.ValidFeatures.Add("Windows")) WindowsHostProcessContainers = framework.WithFeature(framework.ValidFeatures.Add("WindowsHostProcessContainers")) WindowsHyperVContainers = framework.WithFeature(framework.ValidFeatures.Add("WindowsHyperVContainers")) - ClusterScaleUpBypassScheduler = framework.WithFeature(framework.ValidFeatures.Add("ClusterScaleUpBypassScheduler")) + + // Please keep the list in alphabetical order. ) func init() { diff --git a/test/e2e/nodefeature/nodefeature.go b/test/e2e/nodefeature/nodefeature.go index ea84a7f894d..644e2bee98a 100644 --- a/test/e2e/nodefeature/nodefeature.go +++ b/test/e2e/nodefeature/nodefeature.go @@ -23,6 +23,8 @@ import ( ) var ( + // Please keep the list in alphabetical order. + AppArmor = framework.WithNodeFeature(framework.ValidNodeFeatures.Add("AppArmor")) CheckpointContainer = framework.WithNodeFeature(framework.ValidNodeFeatures.Add("CheckpointContainer")) CriticalPod = framework.WithNodeFeature(framework.ValidNodeFeatures.Add("CriticalPod")) @@ -49,6 +51,8 @@ var ( RuntimeHandler = framework.WithNodeFeature(framework.ValidNodeFeatures.Add("RuntimeHandler")) SidecarContainers = framework.WithNodeFeature(framework.ValidNodeFeatures.Add("SidecarContainers")) SystemNodeCriticalPod = framework.WithNodeFeature(framework.ValidNodeFeatures.Add("SystemNodeCriticalPod")) + + // Please keep the list in alphabetical order. ) func init() {