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
2637dab0
Commit
2637dab0
authored
Dec 03, 2015
by
Wojciech Tyczynski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Measure latency metrics before removing namespace
parent
800012df
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
density.go
test/e2e/density.go
+5
-3
load.go
test/e2e/load.go
+2
-0
No files found.
test/e2e/density.go
View file @
2637dab0
...
@@ -115,9 +115,6 @@ var _ = Describe("Density [Skipped]", func() {
...
@@ -115,9 +115,6 @@ var _ = Describe("Density [Skipped]", func() {
var
ns
string
var
ns
string
var
uuid
string
var
uuid
string
framework
:=
NewFramework
(
"density"
)
framework
.
NamespaceDeletionTimeout
=
time
.
Hour
// Gathers data prior to framework namespace teardown
// Gathers data prior to framework namespace teardown
AfterEach
(
func
()
{
AfterEach
(
func
()
{
// Remove any remaining pods from this test if the
// Remove any remaining pods from this test if the
...
@@ -151,6 +148,11 @@ var _ = Describe("Density [Skipped]", func() {
...
@@ -151,6 +148,11 @@ var _ = Describe("Density [Skipped]", func() {
expectNoError
(
VerifySchedulerLatency
())
expectNoError
(
VerifySchedulerLatency
())
})
})
// Explicitly put here, to delete namespace at the end of the test
// (after measuring latency metrics, etc.).
framework
:=
NewFramework
(
"density"
)
framework
.
NamespaceDeletionTimeout
=
time
.
Hour
BeforeEach
(
func
()
{
BeforeEach
(
func
()
{
c
=
framework
.
Client
c
=
framework
.
Client
ns
=
framework
.
Namespace
.
Name
ns
=
framework
.
Namespace
.
Name
...
...
test/e2e/load.go
View file @
2637dab0
...
@@ -65,6 +65,8 @@ var _ = Describe("[Performance] Load capacity [Skipped]", func() {
...
@@ -65,6 +65,8 @@ var _ = Describe("[Performance] Load capacity [Skipped]", func() {
Expect
(
highLatencyRequests
)
.
NotTo
(
BeNumerically
(
">"
,
0
))
Expect
(
highLatencyRequests
)
.
NotTo
(
BeNumerically
(
">"
,
0
))
})
})
// Explicitly put here, to delete namespace at the end of the test
// (after measuring latency metrics, etc.).
framework
:=
NewFramework
(
"load"
)
framework
:=
NewFramework
(
"load"
)
framework
.
NamespaceDeletionTimeout
=
time
.
Hour
framework
.
NamespaceDeletionTimeout
=
time
.
Hour
...
...
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