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
ffd5bbaa
Commit
ffd5bbaa
authored
Mar 04, 2016
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #22504 from gmarek/master
Auto commit by PR queue bot
parents
679e27c1
030f5d07
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
density.go
test/e2e/density.go
+6
-7
No files found.
test/e2e/density.go
View file @
ffd5bbaa
...
...
@@ -45,7 +45,7 @@ import (
const
(
NodeStartupThreshold
=
4
*
time
.
Second
MinSaturationThreshold
=
2
*
time
.
Minute
MinPodsPerSecondThroughput
=
10
MinPodsPerSecondThroughput
=
8
)
// Maximum container failures this test tolerates before failing.
...
...
@@ -127,6 +127,11 @@ var _ = Describe("Density", func() {
// Gathers data prior to framework namespace teardown
AfterEach
(
func
()
{
saturationThreshold
:=
time
.
Duration
((
totalPods
/
MinPodsPerSecondThroughput
))
*
time
.
Second
if
saturationThreshold
<
MinSaturationThreshold
{
saturationThreshold
=
MinSaturationThreshold
}
Expect
(
e2eStartupTime
)
.
NotTo
(
BeNumerically
(
">"
,
saturationThreshold
))
saturationData
:=
SaturationTime
{
TimeToSaturate
:
e2eStartupTime
,
NumberOfNodes
:
nodeCount
,
...
...
@@ -550,12 +555,6 @@ var _ = Describe("Density", func() {
name
:=
additionalPodsPrefix
+
"-"
+
strconv
.
Itoa
(
i
)
c
.
Pods
(
ns
)
.
Delete
(
name
,
nil
)
}
saturationThreshold
:=
time
.
Duration
((
totalPods
/
MinPodsPerSecondThroughput
))
*
time
.
Second
if
saturationThreshold
<
MinSaturationThreshold
{
saturationThreshold
=
MinSaturationThreshold
}
Expect
(
e2eStartupTime
)
.
NotTo
(
BeNumerically
(
">"
,
saturationThreshold
))
})
}
})
...
...
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