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
17f427d7
Commit
17f427d7
authored
Aug 23, 2018
by
Shyam Jeedigunta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove second round of scaling in load test
parent
0e31372b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
11 deletions
+2
-11
load.go
test/e2e/scalability/load.go
+2
-11
No files found.
test/e2e/scalability/load.go
View file @
17f427d7
...
...
@@ -321,22 +321,13 @@ var _ = SIGDescribe("Load capacity", func() {
// to make it possible to create/schedule & delete them in the meantime.
// Currently we assume that <throughput> pods/second average throughput.
// The expected number of created/deleted pods is totalPods/4 when scaling
// for the first time, with each RC changing its size from X to a uniform
// random value in the interval [X/2, 3X/2].
// The expected number of created/deleted pods is totalPods/4 when scaling,
// as each RC changes its size from X to a uniform random value in [X/2, 3X/2].
scalingTime
:=
time
.
Duration
(
totalPods
/
(
4
*
throughput
))
*
time
.
Second
framework
.
Logf
(
"Starting to scale %v objects first time..."
,
itArg
.
kind
)
scaleAllResources
(
configs
,
scalingTime
,
testPhaseDurations
.
StartPhase
(
300
,
"scaling first time"
))
By
(
"============================================================================"
)
// The expected number of created/deleted pods is totalPods/3 when scaling for
// the second time, with each RC changing its size from a uniform random value
// in the interval [X/2, 3X/2] to another uniform random value in same interval.
scalingTime
=
time
.
Duration
(
totalPods
/
(
3
*
throughput
))
*
time
.
Second
framework
.
Logf
(
"Starting to scale %v objects second time..."
,
itArg
.
kind
)
scaleAllResources
(
configs
,
scalingTime
,
testPhaseDurations
.
StartPhase
(
400
,
"scaling second time"
))
By
(
"============================================================================"
)
// Cleanup all created replication controllers.
// Currently we assume <throughput> pods/second average deletion throughput.
// We may want to revisit it in the future.
...
...
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