Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
7cbd897e
Commit
7cbd897e
authored
May 21, 2018
by
Yu-Ju Hong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test/e2e_node: Add Node-exclusive feature tags to existing tests
parent
4ad9aedb
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
11 additions
and
11 deletions
+11
-11
apparmor_test.go
test/e2e_node/apparmor_test.go
+1
-1
cpu_manager_test.go
test/e2e_node/cpu_manager_test.go
+1
-1
device_plugin.go
test/e2e_node/device_plugin.go
+1
-1
docker_test.go
test/e2e_node/docker_test.go
+1
-1
dockershim_checkpoint_test.go
test/e2e_node/dockershim_checkpoint_test.go
+1
-1
dynamic_kubelet_config_test.go
test/e2e_node/dynamic_kubelet_config_test.go
+1
-1
eviction_test.go
test/e2e_node/eviction_test.go
+1
-1
gke_environment_test.go
test/e2e_node/gke_environment_test.go
+1
-1
gpu_device_plugin.go
test/e2e_node/gpu_device_plugin.go
+1
-1
hugepages_test.go
test/e2e_node/hugepages_test.go
+1
-1
security_context_test.go
test/e2e_node/security_context_test.go
+1
-1
No files found.
test/e2e_node/apparmor_test.go
View file @
7cbd897e
...
...
@@ -40,7 +40,7 @@ import (
.
"github.com/onsi/gomega"
)
var
_
=
framework
.
KubeDescribe
(
"AppArmor [Feature:AppArmor]"
,
func
()
{
var
_
=
framework
.
KubeDescribe
(
"AppArmor [Feature:AppArmor]
[NodeFeature:AppArmor]
"
,
func
()
{
if
isAppArmorEnabled
()
{
BeforeEach
(
func
()
{
By
(
"Loading AppArmor profiles for testing"
)
...
...
test/e2e_node/cpu_manager_test.go
View file @
7cbd897e
...
...
@@ -438,7 +438,7 @@ func runCPUManagerTests(f *framework.Framework) {
}
// Serial because the test updates kubelet configuration.
var
_
=
SIGDescribe
(
"CPU Manager [Serial] [Feature:CPUManager]"
,
func
()
{
var
_
=
SIGDescribe
(
"CPU Manager [Serial] [Feature:CPUManager]
[NodeAlphaFeature:CPUManager]
"
,
func
()
{
f
:=
framework
.
NewDefaultFramework
(
"cpu-manager-test"
)
Context
(
"With kubeconfig updated with static CPU Manager policy run the CPU Manager tests"
,
func
()
{
...
...
test/e2e_node/device_plugin.go
View file @
7cbd897e
...
...
@@ -44,7 +44,7 @@ const (
)
// Serial because the test restarts Kubelet
var
_
=
framework
.
KubeDescribe
(
"Device Plugin [Feature:DevicePlugin]
[Serial]"
,
func
()
{
var
_
=
framework
.
KubeDescribe
(
"Device Plugin [Feature:DevicePlugin]
[NodeFeature:DevicePlugin]
[Serial]"
,
func
()
{
f
:=
framework
.
NewDefaultFramework
(
"device-plugin-errors"
)
Context
(
"DevicePlugin"
,
func
()
{
...
...
test/e2e_node/docker_test.go
View file @
7cbd897e
...
...
@@ -30,7 +30,7 @@ import (
.
"github.com/onsi/gomega"
)
var
_
=
framework
.
KubeDescribe
(
"Docker features [Feature:Docker]"
,
func
()
{
var
_
=
framework
.
KubeDescribe
(
"Docker features [Feature:Docker]
[Legacy:Docker]
"
,
func
()
{
f
:=
framework
.
NewDefaultFramework
(
"docker-feature-test"
)
BeforeEach
(
func
()
{
...
...
test/e2e_node/dockershim_checkpoint_test.go
View file @
7cbd897e
...
...
@@ -43,7 +43,7 @@ const (
testCheckpointContent
=
`{"version":"v1","name":"fluentd-gcp-v2.0-vmnqx","namespace":"kube-system","data":{},"checksum":1799154314}`
)
var
_
=
SIGDescribe
(
"Dockershim [Serial] [Disruptive] [Feature:Docker]"
,
func
()
{
var
_
=
SIGDescribe
(
"Dockershim [Serial] [Disruptive] [Feature:Docker]
[Legacy:Docker]
"
,
func
()
{
f
:=
framework
.
NewDefaultFramework
(
"dockerhism-checkpoint-test"
)
BeforeEach
(
func
()
{
...
...
test/e2e_node/dynamic_kubelet_config_test.go
View file @
7cbd897e
...
...
@@ -65,7 +65,7 @@ type nodeConfigTestCase struct {
}
// This test is marked [Disruptive] because the Kubelet restarts several times during this test.
var
_
=
framework
.
KubeDescribe
(
"[Feature:DynamicKubeletConfig]
[Serial] [Disruptive]"
,
func
()
{
var
_
=
framework
.
KubeDescribe
(
"[Feature:DynamicKubeletConfig]
[NodeAlphaFeature:DynamicKubeletConfig]
[Serial] [Disruptive]"
,
func
()
{
f
:=
framework
.
NewDefaultFramework
(
"dynamic-kubelet-configuration-test"
)
var
beforeNode
*
apiv1
.
Node
var
beforeConfigMap
*
apiv1
.
ConfigMap
...
...
test/e2e_node/eviction_test.go
View file @
7cbd897e
...
...
@@ -218,7 +218,7 @@ var _ = framework.KubeDescribe("LocalStorageSoftEviction [Slow] [Serial] [Disrup
})
// LocalStorageCapacityIsolationEviction tests that container and volume local storage limits are enforced through evictions
var
_
=
framework
.
KubeDescribe
(
"LocalStorageCapacityIsolationEviction [Slow] [Serial] [Disruptive] [Feature:LocalStorageCapacityIsolation]"
,
func
()
{
var
_
=
framework
.
KubeDescribe
(
"LocalStorageCapacityIsolationEviction [Slow] [Serial] [Disruptive] [Feature:LocalStorageCapacityIsolation]
[NodeFeature:LocalStorageCapacityIsolation]
"
,
func
()
{
f
:=
framework
.
NewDefaultFramework
(
"localstorage-eviction-test"
)
evictionTestTimeout
:=
10
*
time
.
Minute
Context
(
fmt
.
Sprintf
(
testContextFmt
,
"evictions due to pod local storage violations"
),
func
()
{
...
...
test/e2e_node/gke_environment_test.go
View file @
7cbd897e
...
...
@@ -310,7 +310,7 @@ func checkDockerStorageDriver() error {
return
fmt
.
Errorf
(
"failed to find storage driver"
)
}
var
_
=
framework
.
KubeDescribe
(
"GKE system requirements [Conformance][NodeConformance][Feature:GKEEnv]"
,
func
()
{
var
_
=
framework
.
KubeDescribe
(
"GKE system requirements [Conformance][NodeConformance][Feature:GKEEnv]
[NodeFeature:GKEEnv]
"
,
func
()
{
BeforeEach
(
func
()
{
framework
.
RunIfSystemSpecNameIs
(
"gke"
)
})
...
...
test/e2e_node/gpu_device_plugin.go
View file @
7cbd897e
...
...
@@ -37,7 +37,7 @@ const (
)
// Serial because the test restarts Kubelet
var
_
=
framework
.
KubeDescribe
(
"NVIDIA GPU Device Plugin [Feature:GPUDevicePlugin]
[Serial] [Disruptive]"
,
func
()
{
var
_
=
framework
.
KubeDescribe
(
"NVIDIA GPU Device Plugin [Feature:GPUDevicePlugin]
[NodeFeature:GPUDevicePlugin]
[Serial] [Disruptive]"
,
func
()
{
f
:=
framework
.
NewDefaultFramework
(
"device-plugin-gpus-errors"
)
Context
(
"DevicePlugin"
,
func
()
{
...
...
test/e2e_node/hugepages_test.go
View file @
7cbd897e
...
...
@@ -191,7 +191,7 @@ func runHugePagesTests(f *framework.Framework) {
}
// Serial because the test updates kubelet configuration.
var
_
=
SIGDescribe
(
"HugePages [Serial] [Feature:HugePages]"
,
func
()
{
var
_
=
SIGDescribe
(
"HugePages [Serial] [Feature:HugePages]
[NodeFeature:HugePages]
"
,
func
()
{
f
:=
framework
.
NewDefaultFramework
(
"hugepages-test"
)
Context
(
"With config updated with hugepages feature enabled"
,
func
()
{
...
...
test/e2e_node/security_context_test.go
View file @
7cbd897e
...
...
@@ -41,7 +41,7 @@ var _ = framework.KubeDescribe("Security Context", func() {
podClient
=
f
.
PodClient
()
})
Context
(
"when pod PID namespace is configurable [Feature:ShareProcessNamespace]"
,
func
()
{
Context
(
"when pod PID namespace is configurable [Feature:ShareProcessNamespace]
[NodeAlphaFeature:ShareProcessNamespace]
"
,
func
()
{
It
(
"containers in pods using isolated PID namespaces should all receive PID 1"
,
func
()
{
By
(
"Create a pod with isolated PID namespaces."
)
f
.
PodClient
()
.
CreateSync
(
&
v1
.
Pod
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment