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
86764ba4
Commit
86764ba4
authored
Jun 15, 2016
by
Jerzy Szczepkowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed constans to reduce hpa e2e test flakiness.
Changed constans to reduce hpa e2e test flakiness.
parent
3c822c0b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
autoscaling_utils.go
test/e2e/autoscaling_utils.go
+1
-1
horizontal_pod_autoscaling.go
test/e2e/horizontal_pod_autoscaling.go
+1
-1
No files found.
test/e2e/autoscaling_utils.go
View file @
86764ba4
...
...
@@ -272,7 +272,7 @@ func (rc *ResourceConsumer) GetReplicas() int {
}
func
(
rc
*
ResourceConsumer
)
WaitForReplicas
(
desiredReplicas
int
)
{
timeout
:=
1
0
*
time
.
Minute
timeout
:=
1
5
*
time
.
Minute
for
start
:=
time
.
Now
();
time
.
Since
(
start
)
<
timeout
;
time
.
Sleep
(
20
*
time
.
Second
)
{
if
desiredReplicas
==
rc
.
GetReplicas
()
{
framework
.
Logf
(
"%s: current replicas number is equal to desired replicas number: %d"
,
rc
.
kind
,
desiredReplicas
)
...
...
test/e2e/horizontal_pod_autoscaling.go
View file @
86764ba4
...
...
@@ -169,7 +169,7 @@ func scaleDown(name, kind string, checkStability bool, rc *ResourceConsumer, f *
maxPods
:
5
,
firstScale
:
3
,
firstScaleStasis
:
stasis
,
cpuBurst
:
10
0
,
cpuBurst
:
10
,
secondScale
:
1
,
}
scaleTest
.
run
(
name
,
kind
,
rc
,
f
)
...
...
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