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
f6224590
Commit
f6224590
authored
Nov 15, 2016
by
David Ashpole
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test Container Garbage Collection
parent
c5c461df
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
6 deletions
+16
-6
BUILD
test/e2e_node/BUILD
+1
-0
garbage_collector_test.go
test/e2e_node/garbage_collector_test.go
+0
-0
memory_eviction_test.go
test/e2e_node/memory_eviction_test.go
+2
-6
util.go
test/e2e_node/util.go
+12
-0
test_owners.csv
test/test_owners.csv
+1
-0
No files found.
test/e2e_node/BUILD
View file @
f6224590
...
...
@@ -57,6 +57,7 @@ go_test(
"disk_eviction_test.go",
"dynamic_kubelet_configuration_test.go",
"e2e_node_suite_test.go",
"garbage_collector_test.go",
"image_id_test.go",
"kubelet_test.go",
"lifecycle_hook_test.go",
...
...
test/e2e_node/garbage_collector_test.go
0 → 100644
View file @
f6224590
This diff is collapsed.
Click to expand it.
test/e2e_node/memory_eviction_test.go
View file @
f6224590
...
...
@@ -41,12 +41,8 @@ var _ = framework.KubeDescribe("MemoryEviction [Slow] [Serial] [Disruptive]", fu
// memory pressure reduction, even if we time out while waiting.
Context
(
""
,
func
()
{
AfterEach
(
func
()
{
glog
.
Infof
(
"Summary of node events during the memory eviction test:"
)
err
:=
framework
.
ListNamespaceEvents
(
f
.
ClientSet
,
f
.
Namespace
.
Name
)
framework
.
ExpectNoError
(
err
)
glog
.
Infof
(
"Summary of pod events during the memory eviction test:"
)
err
=
framework
.
ListNamespaceEvents
(
f
.
ClientSet
,
""
)
framework
.
ExpectNoError
(
err
)
logNodeEvents
(
f
)
logPodEvents
(
f
)
})
Context
(
"when there is memory pressure"
,
func
()
{
...
...
test/e2e_node/util.go
View file @
f6224590
...
...
@@ -232,3 +232,15 @@ func updateConfigMap(f *framework.Framework, kubeCfg *componentconfig.KubeletCon
}
return
cmap
,
nil
}
func
logPodEvents
(
f
*
framework
.
Framework
)
{
framework
.
Logf
(
"Summary of pod events during the test:"
)
err
:=
framework
.
ListNamespaceEvents
(
f
.
ClientSet
,
f
.
Namespace
.
Name
)
framework
.
ExpectNoError
(
err
)
}
func
logNodeEvents
(
f
*
framework
.
Framework
)
{
framework
.
Logf
(
"Summary of node events during the test:"
)
err
:=
framework
.
ListNamespaceEvents
(
f
.
ClientSet
,
""
)
framework
.
ExpectNoError
(
err
)
}
test/test_owners.csv
View file @
f6224590
...
...
@@ -932,3 +932,4 @@ k8s.io/kubernetes/test/integration/storageclasses,andyzheng0831,1
k8s.io/kubernetes/test/integration/thirdparty,davidopp,1
k8s.io/kubernetes/test/list,maisem,1
kubelet Clean up pods on node kubelet should be able to delete * pods per node in *.,yujuhong,0
Garbage Collection Test: * Should eventually garbage collect containers when we exceed the number of dead containers per container,Random-Liu,0
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