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
f7b9b669
Unverified
Commit
f7b9b669
authored
Nov 19, 2018
by
k8s-ci-robot
Committed by
GitHub
Nov 19, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #71208 from losipiuk/lo/fix-flaky-scalup-test
Fix flaky 'shouldn't trigger additional scale-ups during processing scale-up' test
parents
7ba79c31
4d154179
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
cluster_size_autoscaling.go
test/e2e/autoscaling/cluster_size_autoscaling.go
+7
-1
No files found.
test/e2e/autoscaling/cluster_size_autoscaling.go
View file @
f7b9b669
...
...
@@ -349,8 +349,14 @@ var _ = SIGDescribe("Cluster size autoscaling [Slow]", func() {
framework
.
ExpectNoError
(
waitForAllCaPodsReadyInNamespace
(
f
,
c
))
By
(
"Expect no more scale-up to be happening after all pods are scheduled"
)
status
,
err
=
getScaleUpStatus
(
c
)
// wait for a while until scale-up finishes; we cannot read CA status immediately
// after pods are scheduled as status config map is updated by CA once every loop iteration
status
,
err
=
waitForScaleUpStatus
(
c
,
func
(
s
*
scaleUpStatus
)
bool
{
return
s
.
status
==
caNoScaleUpStatus
},
2
*
freshStatusLimit
)
framework
.
ExpectNoError
(
err
)
if
status
.
target
!=
target
{
klog
.
Warningf
(
"Final number of nodes (%v) does not match initial scale-up target (%v)."
,
status
.
target
,
target
)
}
...
...
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